@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.
|
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.
Locale
public 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.Locale
public 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.Locale
public 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.Locale
public 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.Locale
public String toString()
toString
in class Object
Object.toString()
public BuiltinIntentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.