@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProtectConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateProtectConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
CreateProtectConfigurationResult |
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()
When set to true deletion protection is enabled.
|
String |
getProtectConfigurationArn()
The Amazon Resource Name (ARN) of the protect configuration.
|
String |
getProtectConfigurationId()
The unique identifier for the protect configuration.
|
List<Tag> |
getTags()
An array of key and value pair tags that are associated with the resource.
|
int |
hashCode() |
Boolean |
isAccountDefault()
This is true if the protect configuration is set as your account default protect configuration.
|
Boolean |
isDeletionProtectionEnabled()
When set to true deletion protection is enabled.
|
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)
When set to true deletion protection is enabled.
|
void |
setProtectConfigurationArn(String protectConfigurationArn)
The Amazon Resource Name (ARN) of the protect configuration.
|
void |
setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
void |
setTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateProtectConfigurationResult |
withAccountDefault(Boolean accountDefault)
This is true if the protect configuration is set as your account default protect configuration.
|
CreateProtectConfigurationResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the protect configuration was created, in UNIX epoch
time format.
|
CreateProtectConfigurationResult |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled.
|
CreateProtectConfigurationResult |
withProtectConfigurationArn(String protectConfigurationArn)
The Amazon Resource Name (ARN) of the protect configuration.
|
CreateProtectConfigurationResult |
withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
CreateProtectConfigurationResult |
withTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
|
CreateProtectConfigurationResult |
withTags(Tag... tags)
An array of key and value pair tags that are associated with the resource.
|
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 CreateProtectConfigurationResult 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 CreateProtectConfigurationResult 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 CreateProtectConfigurationResult 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 CreateProtectConfigurationResult 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)
When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled
- When set to true deletion protection is enabled. By default this is set to false.public Boolean getDeletionProtectionEnabled()
When set to true deletion protection is enabled. By default this is set to false.
public CreateProtectConfigurationResult withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled
- When set to true deletion protection is enabled. By default this is set to false.public Boolean isDeletionProtectionEnabled()
When set to true deletion protection is enabled. By default this is set to false.
public List<Tag> getTags()
An array of key and value pair tags that are associated with the resource.
public void setTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
tags
- An array of key and value pair tags that are associated with the resource.public CreateProtectConfigurationResult withTags(Tag... tags)
An array of key and value pair tags that are associated with the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of key and value pair tags that are associated with the resource.public CreateProtectConfigurationResult withTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
tags
- An array of key and value pair tags that are associated with the resource.public String toString()
toString
in class Object
Object.toString()
public CreateProtectConfigurationResult clone()