Class GetBuiltinIntentsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest
-
- software.amazon.awssdk.services.lexmodelbuilding.model.GetBuiltinIntentsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBuiltinIntentsRequest.Builder,GetBuiltinIntentsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetBuiltinIntentsRequest extends LexModelBuildingRequest implements ToCopyableBuilder<GetBuiltinIntentsRequest.Builder,GetBuiltinIntentsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetBuiltinIntentsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetBuiltinIntentsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Localelocale()A list of locales that the intent supports.StringlocaleAsString()A list of locales that the intent supports.IntegermaxResults()The maximum number of intents to return in the response.StringnextToken()A pagination token that fetches the next page of intents.List<SdkField<?>>sdkFields()static Class<? extends GetBuiltinIntentsRequest.Builder>serializableBuilderClass()StringsignatureContains()Substring to match in built-in intent signatures.GetBuiltinIntentsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
locale
public final Locale locale()
A list of locales that the intent supports.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- A list of locales that the intent supports.
- See Also:
Locale
-
localeAsString
public final String localeAsString()
A list of locales that the intent supports.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- A list of locales that the intent supports.
- See Also:
Locale
-
signatureContains
public final String signatureContains()
Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- Returns:
- Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
-
nextToken
public final String nextToken()
A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request.
- Returns:
- A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request.
-
maxResults
public final Integer maxResults()
The maximum number of intents to return in the response. The default is 10.
- Returns:
- The maximum number of intents to return in the response. The default is 10.
-
toBuilder
public GetBuiltinIntentsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBuiltinIntentsRequest.Builder,GetBuiltinIntentsRequest>- Specified by:
toBuilderin classLexModelBuildingRequest
-
builder
public static GetBuiltinIntentsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBuiltinIntentsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-