@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.
Locale
public void setSupportedLocales(Collection<String> supportedLocales)
A list of target locales for the slot.
supportedLocales
- A list of target locales for the slot.Locale
public 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.Locale
public BuiltinSlotTypeMetadata withSupportedLocales(Collection<String> supportedLocales)
A list of target locales for the slot.
supportedLocales
- A list of target locales for the slot.Locale
public BuiltinSlotTypeMetadata withSupportedLocales(Locale... supportedLocales)
A list of target locales for the slot.
supportedLocales
- A list of target locales for the slot.Locale
public String toString()
toString
in class Object
Object.toString()
public BuiltinSlotTypeMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.