@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEncryptionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEncryptionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetEncryptionConfigurationResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
|
String |
getEncryptionStatus()
The encryption status.
|
String |
getEncryptionType()
The type of encryption.
|
String |
getErrorMessage()
The error message that describes why encryption settings couldn't be configured, if applicable.
|
String |
getKmsKeyId()
The ID of the KMS key that is used for encryption.
|
Date |
getLastModificationTime()
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
|
void |
setEncryptionStatus(String encryptionStatus)
The encryption status.
|
void |
setEncryptionType(String encryptionType)
The type of encryption.
|
void |
setErrorMessage(String errorMessage)
The error message that describes why encryption settings couldn't be configured, if applicable.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
|
void |
setLastModificationTime(Date lastModificationTime)
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
|
String |
toString()
Returns a string representation of this object.
|
GetEncryptionConfigurationResult |
withCreationTime(Date creationTime)
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
|
GetEncryptionConfigurationResult |
withEncryptionStatus(EncryptionStatus encryptionStatus)
The encryption status.
|
GetEncryptionConfigurationResult |
withEncryptionStatus(String encryptionStatus)
The encryption status.
|
GetEncryptionConfigurationResult |
withEncryptionType(EncryptionType encryptionType)
The type of encryption.
|
GetEncryptionConfigurationResult |
withEncryptionType(String encryptionType)
The type of encryption.
|
GetEncryptionConfigurationResult |
withErrorMessage(String errorMessage)
The error message that describes why encryption settings couldn't be configured, if applicable.
|
GetEncryptionConfigurationResult |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
|
GetEncryptionConfigurationResult |
withLastModificationTime(Date lastModificationTime)
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
|
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 GetEncryptionConfigurationResult 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 GetEncryptionConfigurationResult withEncryptionStatus(String encryptionStatus)
The encryption status.
encryptionStatus
- The encryption status.EncryptionStatus
public GetEncryptionConfigurationResult 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 a 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 a 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 a 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 a 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 GetEncryptionConfigurationResult withEncryptionType(String encryptionType)
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use a 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 a 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 GetEncryptionConfigurationResult withEncryptionType(EncryptionType encryptionType)
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use a 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 a 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 void setErrorMessage(String errorMessage)
The error message that describes why encryption settings couldn't be configured, if applicable.
errorMessage
- The error message that describes why encryption settings couldn't be configured, if applicable.public String getErrorMessage()
The error message that describes why encryption settings couldn't be configured, if applicable.
public GetEncryptionConfigurationResult withErrorMessage(String errorMessage)
The error message that describes why encryption settings couldn't be configured, if applicable.
errorMessage
- The error message that describes why encryption settings couldn't be configured, if applicable.public void setCreationTime(Date creationTime)
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
creationTime
- The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).public Date getCreationTime()
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
public GetEncryptionConfigurationResult withCreationTime(Date creationTime)
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
creationTime
- The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).public void setLastModificationTime(Date lastModificationTime)
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
lastModificationTime
- The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).public Date getLastModificationTime()
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
public GetEncryptionConfigurationResult withLastModificationTime(Date lastModificationTime)
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
lastModificationTime
- The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).public String toString()
toString
in class Object
Object.toString()
public GetEncryptionConfigurationResult clone()