@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrammarSlotTypeSource extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.
Constructor and Description |
---|
GrammarSlotTypeSource() |
Modifier and Type | Method and Description |
---|---|
GrammarSlotTypeSource |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The KMS key required to decrypt the contents of the grammar, if any.
|
String |
getS3BucketName()
The name of the Amazon S3 bucket that contains the grammar source.
|
String |
getS3ObjectKey()
The path to the grammar in the Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyArn(String kmsKeyArn)
The KMS key required to decrypt the contents of the grammar, if any.
|
void |
setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket that contains the grammar source.
|
void |
setS3ObjectKey(String s3ObjectKey)
The path to the grammar in the Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
GrammarSlotTypeSource |
withKmsKeyArn(String kmsKeyArn)
The KMS key required to decrypt the contents of the grammar, if any.
|
GrammarSlotTypeSource |
withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket that contains the grammar source.
|
GrammarSlotTypeSource |
withS3ObjectKey(String s3ObjectKey)
The path to the grammar in the Amazon S3 bucket.
|
public void setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket that contains the grammar source.
s3BucketName
- The name of the Amazon S3 bucket that contains the grammar source.public String getS3BucketName()
The name of the Amazon S3 bucket that contains the grammar source.
public GrammarSlotTypeSource withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket that contains the grammar source.
s3BucketName
- The name of the Amazon S3 bucket that contains the grammar source.public void setS3ObjectKey(String s3ObjectKey)
The path to the grammar in the Amazon S3 bucket.
s3ObjectKey
- The path to the grammar in the Amazon S3 bucket.public String getS3ObjectKey()
The path to the grammar in the Amazon S3 bucket.
public GrammarSlotTypeSource withS3ObjectKey(String s3ObjectKey)
The path to the grammar in the Amazon S3 bucket.
s3ObjectKey
- The path to the grammar in the Amazon S3 bucket.public void setKmsKeyArn(String kmsKeyArn)
The KMS key required to decrypt the contents of the grammar, if any.
kmsKeyArn
- The KMS key required to decrypt the contents of the grammar, if any.public String getKmsKeyArn()
The KMS key required to decrypt the contents of the grammar, if any.
public GrammarSlotTypeSource withKmsKeyArn(String kmsKeyArn)
The KMS key required to decrypt the contents of the grammar, if any.
kmsKeyArn
- The KMS key required to decrypt the contents of the grammar, if any.public String toString()
toString
in class Object
Object.toString()
public GrammarSlotTypeSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.