@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeliveryStreamEncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the server-side encryption (SSE) status for the delivery stream, the type customer master
key (CMK) in use, if any, and the ARN of the CMK. You can get DeliveryStreamEncryptionConfiguration
by
invoking the DescribeDeliveryStream operation.
Constructor and Description |
---|
DeliveryStreamEncryptionConfiguration() |
Modifier and Type | Method and Description |
---|---|
DeliveryStreamEncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
FailureDescription |
getFailureDescription()
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
String |
getKeyARN()
If
KeyType is CUSTOMER_MANAGED_CMK , this field contains the ARN of the customer managed
CMK. |
String |
getKeyType()
Indicates the type of customer master key (CMK) that is used for encryption.
|
String |
getStatus()
This is the server-side encryption (SSE) status for the delivery stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
void |
setKeyARN(String keyARN)
If
KeyType is CUSTOMER_MANAGED_CMK , this field contains the ARN of the customer managed
CMK. |
void |
setKeyType(String keyType)
Indicates the type of customer master key (CMK) that is used for encryption.
|
void |
setStatus(String status)
This is the server-side encryption (SSE) status for the delivery stream.
|
String |
toString()
Returns a string representation of this object.
|
DeliveryStreamEncryptionConfiguration |
withFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
DeliveryStreamEncryptionConfiguration |
withKeyARN(String keyARN)
If
KeyType is CUSTOMER_MANAGED_CMK , this field contains the ARN of the customer managed
CMK. |
DeliveryStreamEncryptionConfiguration |
withKeyType(KeyType keyType)
Indicates the type of customer master key (CMK) that is used for encryption.
|
DeliveryStreamEncryptionConfiguration |
withKeyType(String keyType)
Indicates the type of customer master key (CMK) that is used for encryption.
|
DeliveryStreamEncryptionConfiguration |
withStatus(DeliveryStreamEncryptionStatus status)
This is the server-side encryption (SSE) status for the delivery stream.
|
DeliveryStreamEncryptionConfiguration |
withStatus(String status)
This is the server-side encryption (SSE) status for the delivery stream.
|
public DeliveryStreamEncryptionConfiguration()
public void setKeyARN(String keyARN)
If KeyType
is CUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed
CMK. If KeyType
is Amazon Web Services_OWNED_CMK
,
DeliveryStreamEncryptionConfiguration
doesn't contain a value for KeyARN
.
keyARN
- If KeyType
is CUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer
managed CMK. If KeyType
is Amazon Web Services_OWNED_CMK
,
DeliveryStreamEncryptionConfiguration
doesn't contain a value for KeyARN
.public String getKeyARN()
If KeyType
is CUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed
CMK. If KeyType
is Amazon Web Services_OWNED_CMK
,
DeliveryStreamEncryptionConfiguration
doesn't contain a value for KeyARN
.
KeyType
is CUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer
managed CMK. If KeyType
is Amazon Web Services_OWNED_CMK
,
DeliveryStreamEncryptionConfiguration
doesn't contain a value for KeyARN
.public DeliveryStreamEncryptionConfiguration withKeyARN(String keyARN)
If KeyType
is CUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer managed
CMK. If KeyType
is Amazon Web Services_OWNED_CMK
,
DeliveryStreamEncryptionConfiguration
doesn't contain a value for KeyARN
.
keyARN
- If KeyType
is CUSTOMER_MANAGED_CMK
, this field contains the ARN of the customer
managed CMK. If KeyType
is Amazon Web Services_OWNED_CMK
,
DeliveryStreamEncryptionConfiguration
doesn't contain a value for KeyARN
.public void setKeyType(String keyType)
Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master Keys
(CMKs).
keyType
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master
Keys (CMKs).KeyType
public String getKeyType()
Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master Keys
(CMKs).
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master
Keys (CMKs).KeyType
public DeliveryStreamEncryptionConfiguration withKeyType(String keyType)
Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master Keys
(CMKs).
keyType
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master
Keys (CMKs).KeyType
public DeliveryStreamEncryptionConfiguration withKeyType(KeyType keyType)
Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master Keys
(CMKs).
keyType
- Indicates the type of customer master key (CMK) that is used for encryption. The default setting is
Amazon Web Services_OWNED_CMK
. For more information about CMKs, see Customer Master
Keys (CMKs).KeyType
public void setStatus(String status)
This is the server-side encryption (SSE) status for the delivery stream. For a full description of the different
values of this status, see StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If this
status is ENABLING_FAILED
or DISABLING_FAILED
, it is the status of the most recent
attempt to enable or disable SSE, respectively.
status
- This is the server-side encryption (SSE) status for the delivery stream. For a full description of the
different values of this status, see StartDeliveryStreamEncryption and
StopDeliveryStreamEncryption. If this status is ENABLING_FAILED
or
DISABLING_FAILED
, it is the status of the most recent attempt to enable or disable SSE,
respectively.DeliveryStreamEncryptionStatus
public String getStatus()
This is the server-side encryption (SSE) status for the delivery stream. For a full description of the different
values of this status, see StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If this
status is ENABLING_FAILED
or DISABLING_FAILED
, it is the status of the most recent
attempt to enable or disable SSE, respectively.
ENABLING_FAILED
or
DISABLING_FAILED
, it is the status of the most recent attempt to enable or disable SSE,
respectively.DeliveryStreamEncryptionStatus
public DeliveryStreamEncryptionConfiguration withStatus(String status)
This is the server-side encryption (SSE) status for the delivery stream. For a full description of the different
values of this status, see StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If this
status is ENABLING_FAILED
or DISABLING_FAILED
, it is the status of the most recent
attempt to enable or disable SSE, respectively.
status
- This is the server-side encryption (SSE) status for the delivery stream. For a full description of the
different values of this status, see StartDeliveryStreamEncryption and
StopDeliveryStreamEncryption. If this status is ENABLING_FAILED
or
DISABLING_FAILED
, it is the status of the most recent attempt to enable or disable SSE,
respectively.DeliveryStreamEncryptionStatus
public DeliveryStreamEncryptionConfiguration withStatus(DeliveryStreamEncryptionStatus status)
This is the server-side encryption (SSE) status for the delivery stream. For a full description of the different
values of this status, see StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If this
status is ENABLING_FAILED
or DISABLING_FAILED
, it is the status of the most recent
attempt to enable or disable SSE, respectively.
status
- This is the server-side encryption (SSE) status for the delivery stream. For a full description of the
different values of this status, see StartDeliveryStreamEncryption and
StopDeliveryStreamEncryption. If this status is ENABLING_FAILED
or
DISABLING_FAILED
, it is the status of the most recent attempt to enable or disable SSE,
respectively.DeliveryStreamEncryptionStatus
public void setFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
failureDescription
- Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.public FailureDescription getFailureDescription()
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
public DeliveryStreamEncryptionConfiguration withFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
failureDescription
- Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.public String toString()
toString
in class Object
Object.toString()
public DeliveryStreamEncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.