@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuiltinIntentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Provides metadata for a built-in intent.
| Constructor and Description |
|---|
BuiltinIntentMetadata() |
| Modifier and Type | Method and Description |
|---|---|
BuiltinIntentMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getSignature()
A unique identifier for the built-in intent.
|
List<String> |
getSupportedLocales()
A list of identifiers for the locales that the intent supports.
|
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 intent.
|
void |
setSupportedLocales(Collection<String> supportedLocales)
A list of identifiers for the locales that the intent supports.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BuiltinIntentMetadata |
withSignature(String signature)
A unique identifier for the built-in intent.
|
BuiltinIntentMetadata |
withSupportedLocales(Collection<String> supportedLocales)
A list of identifiers for the locales that the intent supports.
|
BuiltinIntentMetadata |
withSupportedLocales(Locale... supportedLocales)
A list of identifiers for the locales that the intent supports.
|
BuiltinIntentMetadata |
withSupportedLocales(String... supportedLocales)
A list of identifiers for the locales that the intent supports.
|
public void setSignature(String signature)
A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
signature - A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.public String getSignature()
A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
public BuiltinIntentMetadata withSignature(String signature)
A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
signature - A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.public List<String> getSupportedLocales()
A list of identifiers for the locales that the intent supports.
Localepublic void setSupportedLocales(Collection<String> supportedLocales)
A list of identifiers for the locales that the intent supports.
supportedLocales - A list of identifiers for the locales that the intent supports.Localepublic BuiltinIntentMetadata withSupportedLocales(String... supportedLocales)
A list of identifiers for the locales that the intent supports.
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 identifiers for the locales that the intent supports.Localepublic BuiltinIntentMetadata withSupportedLocales(Collection<String> supportedLocales)
A list of identifiers for the locales that the intent supports.
supportedLocales - A list of identifiers for the locales that the intent supports.Localepublic BuiltinIntentMetadata withSupportedLocales(Locale... supportedLocales)
A list of identifiers for the locales that the intent supports.
supportedLocales - A list of identifiers for the locales that the intent supports.Localepublic String toString()
toString in class ObjectObject.toString()public BuiltinIntentMetadata 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.