@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuiltinSlotTypeMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a built in slot type.
| Constructor and Description |
|---|
BuiltinSlotTypeMetadata() |
| Modifier and Type | Method and Description |
|---|---|
BuiltinSlotTypeMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getSignature()
A unique identifier for the built-in slot type.
|
List<String> |
getSupportedLocales()
A list of target locales for the slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSignature(String signature)
A unique identifier for the built-in slot type.
|
void |
setSupportedLocales(Collection<String> supportedLocales)
A list of target locales for the slot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BuiltinSlotTypeMetadata |
withSignature(String signature)
A unique identifier for the built-in slot type.
|
BuiltinSlotTypeMetadata |
withSupportedLocales(Collection<String> supportedLocales)
A list of target locales for the slot.
|
BuiltinSlotTypeMetadata |
withSupportedLocales(Locale... supportedLocales)
A list of target locales for the slot.
|
BuiltinSlotTypeMetadata |
withSupportedLocales(String... supportedLocales)
A list of target locales for the slot.
|
public void setSignature(String signature)
A unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit.
signature - A unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit.public String getSignature()
A unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit.
public BuiltinSlotTypeMetadata withSignature(String signature)
A unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit.
signature - A unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit.public List<String> getSupportedLocales()
A list of target locales for the slot.
Localepublic void setSupportedLocales(Collection<String> supportedLocales)
A list of target locales for the slot.
supportedLocales - A list of target locales for the slot.Localepublic BuiltinSlotTypeMetadata withSupportedLocales(String... supportedLocales)
A list of target locales for the slot.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedLocales(java.util.Collection) or withSupportedLocales(java.util.Collection) if you
want to override the existing values.
supportedLocales - A list of target locales for the slot.Localepublic BuiltinSlotTypeMetadata withSupportedLocales(Collection<String> supportedLocales)
A list of target locales for the slot.
supportedLocales - A list of target locales for the slot.Localepublic BuiltinSlotTypeMetadata withSupportedLocales(Locale... supportedLocales)
A list of target locales for the slot.
supportedLocales - A list of target locales for the slot.Localepublic String toString()
toString in class ObjectObject.toString()public BuiltinSlotTypeMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.