Class KMSEncryptionConfig
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.KMSEncryptionConfig
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class KMSEncryptionConfig extends Object implements Serializable, Cloneable
Describes an encryption key for a destination in Amazon S3.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KMSEncryptionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KMSEncryptionConfig
clone()
boolean
equals(Object obj)
String
getAWSKMSKeyARN()
The ARN of the encryption key.int
hashCode()
void
setAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key.String
toString()
Returns a string representation of this object; useful for testing and debugging.KMSEncryptionConfig
withAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key.
-
-
-
Method Detail
-
setAWSKMSKeyARN
public void setAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
- Parameters:
aWSKMSKeyARN
- The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
-
getAWSKMSKeyARN
public String getAWSKMSKeyARN()
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
- Returns:
- The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
-
withAWSKMSKeyARN
public KMSEncryptionConfig withAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
- Parameters:
aWSKMSKeyARN
- The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public KMSEncryptionConfig clone()
-
-