Class GrammarSlotTypeSource
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.GrammarSlotTypeSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GrammarSlotTypeSource.Builder,GrammarSlotTypeSource>
@Generated("software.amazon.awssdk:codegen") public final class GrammarSlotTypeSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GrammarSlotTypeSource.Builder,GrammarSlotTypeSource>
Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGrammarSlotTypeSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrammarSlotTypeSource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()The KMS key required to decrypt the contents of the grammar, if any.Strings3BucketName()The name of the Amazon S3 bucket that contains the grammar source.Strings3ObjectKey()The path to the grammar in the Amazon S3 bucket.List<SdkField<?>>sdkFields()static Class<? extends GrammarSlotTypeSource.Builder>serializableBuilderClass()GrammarSlotTypeSource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
s3BucketName
public final String s3BucketName()
The name of the Amazon S3 bucket that contains the grammar source.
- Returns:
- The name of the Amazon S3 bucket that contains the grammar source.
-
s3ObjectKey
public final String s3ObjectKey()
The path to the grammar in the Amazon S3 bucket.
- Returns:
- The path to the grammar in the Amazon S3 bucket.
-
kmsKeyArn
public final String kmsKeyArn()
The KMS key required to decrypt the contents of the grammar, if any.
- Returns:
- The KMS key required to decrypt the contents of the grammar, if any.
-
toBuilder
public GrammarSlotTypeSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GrammarSlotTypeSource.Builder,GrammarSlotTypeSource>
-
builder
public static GrammarSlotTypeSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends GrammarSlotTypeSource.Builder> serializableBuilderClass()
-
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.
-
-