@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProtectConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateProtectConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
UpdateProtectConfigurationResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAccountDefault()
This is true if the protect configuration is set as your account default protect configuration.
|
Date |
getCreatedTimestamp()
The time when the protect configuration was created, in UNIX epoch
time format.
|
Boolean |
getDeletionProtectionEnabled()
The status of deletion protection for the protect configuration.
|
String |
getProtectConfigurationArn()
The Amazon Resource Name (ARN) of the protect configuration.
|
String |
getProtectConfigurationId()
The unique identifier for the protect configuration.
|
int |
hashCode() |
Boolean |
isAccountDefault()
This is true if the protect configuration is set as your account default protect configuration.
|
Boolean |
isDeletionProtectionEnabled()
The status of deletion protection for the protect configuration.
|
void |
setAccountDefault(Boolean accountDefault)
This is true if the protect configuration is set as your account default protect configuration.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the protect configuration was created, in UNIX epoch
time format.
|
void |
setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
The status of deletion protection for the protect configuration.
|
void |
setProtectConfigurationArn(String protectConfigurationArn)
The Amazon Resource Name (ARN) of the protect configuration.
|
void |
setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProtectConfigurationResult |
withAccountDefault(Boolean accountDefault)
This is true if the protect configuration is set as your account default protect configuration.
|
UpdateProtectConfigurationResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the protect configuration was created, in UNIX epoch
time format.
|
UpdateProtectConfigurationResult |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
The status of deletion protection for the protect configuration.
|
UpdateProtectConfigurationResult |
withProtectConfigurationArn(String protectConfigurationArn)
The Amazon Resource Name (ARN) of the protect configuration.
|
UpdateProtectConfigurationResult |
withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setProtectConfigurationArn(String protectConfigurationArn)
The Amazon Resource Name (ARN) of the protect configuration.
protectConfigurationArn
- The Amazon Resource Name (ARN) of the protect configuration.public String getProtectConfigurationArn()
The Amazon Resource Name (ARN) of the protect configuration.
public UpdateProtectConfigurationResult withProtectConfigurationArn(String protectConfigurationArn)
The Amazon Resource Name (ARN) of the protect configuration.
protectConfigurationArn
- The Amazon Resource Name (ARN) of the protect configuration.public void setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
protectConfigurationId
- The unique identifier for the protect configuration.public String getProtectConfigurationId()
The unique identifier for the protect configuration.
public UpdateProtectConfigurationResult withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
protectConfigurationId
- The unique identifier for the protect configuration.public void setCreatedTimestamp(Date createdTimestamp)
The time when the protect configuration was created, in UNIX epoch time format.
createdTimestamp
- The time when the protect configuration was created, in UNIX
epoch time format.public Date getCreatedTimestamp()
The time when the protect configuration was created, in UNIX epoch time format.
public UpdateProtectConfigurationResult withCreatedTimestamp(Date createdTimestamp)
The time when the protect configuration was created, in UNIX epoch time format.
createdTimestamp
- The time when the protect configuration was created, in UNIX
epoch time format.public void setAccountDefault(Boolean accountDefault)
This is true if the protect configuration is set as your account default protect configuration.
accountDefault
- This is true if the protect configuration is set as your account default protect configuration.public Boolean getAccountDefault()
This is true if the protect configuration is set as your account default protect configuration.
public UpdateProtectConfigurationResult withAccountDefault(Boolean accountDefault)
This is true if the protect configuration is set as your account default protect configuration.
accountDefault
- This is true if the protect configuration is set as your account default protect configuration.public Boolean isAccountDefault()
This is true if the protect configuration is set as your account default protect configuration.
public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled
- The status of deletion protection for the protect configuration. When set to true deletion protection is
enabled. By default this is set to false.public Boolean getDeletionProtectionEnabled()
The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.
public UpdateProtectConfigurationResult withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled
- The status of deletion protection for the protect configuration. When set to true deletion protection is
enabled. By default this is set to false.public Boolean isDeletionProtectionEnabled()
The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.
public String toString()
toString
in class Object
Object.toString()
public UpdateProtectConfigurationResult clone()