@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEncryptionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutEncryptionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
PutEncryptionConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionStatus()
The encryption status.
|
String |
getEncryptionType()
The type of encryption.
|
String |
getKmsKeyId()
The ID of the KMS key that is used for encryption.
|
int |
hashCode() |
void |
setEncryptionStatus(String encryptionStatus)
The encryption status.
|
void |
setEncryptionType(String encryptionType)
The type of encryption.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
|
String |
toString()
Returns a string representation of this object.
|
PutEncryptionConfigurationResult |
withEncryptionStatus(EncryptionStatus encryptionStatus)
The encryption status.
|
PutEncryptionConfigurationResult |
withEncryptionStatus(String encryptionStatus)
The encryption status.
|
PutEncryptionConfigurationResult |
withEncryptionType(EncryptionType encryptionType)
The type of encryption.
|
PutEncryptionConfigurationResult |
withEncryptionType(String encryptionType)
The type of encryption.
|
PutEncryptionConfigurationResult |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
kmsKeyId
- The ID of the KMS key that is used for encryption.public String getKmsKeyId()
The ID of the KMS key that is used for encryption.
public PutEncryptionConfigurationResult withKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
kmsKeyId
- The ID of the KMS key that is used for encryption.public void setEncryptionStatus(String encryptionStatus)
The encryption status.
encryptionStatus
- The encryption status.EncryptionStatus
public String getEncryptionStatus()
The encryption status.
EncryptionStatus
public PutEncryptionConfigurationResult withEncryptionStatus(String encryptionStatus)
The encryption status.
encryptionStatus
- The encryption status.EncryptionStatus
public PutEncryptionConfigurationResult withEncryptionStatus(EncryptionStatus encryptionStatus)
The encryption status.
encryptionStatus
- The encryption status.EncryptionStatus
public void setEncryptionType(String encryptionType)
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set
to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the
Amazon Web Services IoT FleetWise service account.
encryptionType
- The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and
manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is
owned by the Amazon Web Services IoT FleetWise service account.EncryptionType
public String getEncryptionType()
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set
to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the
Amazon Web Services IoT FleetWise service account.
KMS_BASED_ENCRYPTION
to use an KMS key that you own and
manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that
is owned by the Amazon Web Services IoT FleetWise service account.EncryptionType
public PutEncryptionConfigurationResult withEncryptionType(String encryptionType)
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set
to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the
Amazon Web Services IoT FleetWise service account.
encryptionType
- The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and
manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is
owned by the Amazon Web Services IoT FleetWise service account.EncryptionType
public PutEncryptionConfigurationResult withEncryptionType(EncryptionType encryptionType)
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set
to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the
Amazon Web Services IoT FleetWise service account.
encryptionType
- The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and
manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is
owned by the Amazon Web Services IoT FleetWise service account.EncryptionType
public String toString()
toString
in class Object
Object.toString()
public PutEncryptionConfigurationResult clone()