@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSecretResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DeleteSecretResult() |
Modifier and Type | Method and Description |
---|---|
DeleteSecretResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN of the secret that is now scheduled for deletion.
|
Date |
getDeletionDate()
The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored.
|
String |
getName()
The friendly name of the secret that is now scheduled for deletion.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN of the secret that is now scheduled for deletion.
|
void |
setDeletionDate(Date deletionDate)
The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored.
|
void |
setName(String name)
The friendly name of the secret that is now scheduled for deletion.
|
String |
toString()
Returns a string representation of this object.
|
DeleteSecretResult |
withARN(String aRN)
The ARN of the secret that is now scheduled for deletion.
|
DeleteSecretResult |
withDeletionDate(Date deletionDate)
The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored.
|
DeleteSecretResult |
withName(String name)
The friendly name of the secret that is now scheduled for deletion.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The ARN of the secret that is now scheduled for deletion.
aRN
- The ARN of the secret that is now scheduled for deletion.public String getARN()
The ARN of the secret that is now scheduled for deletion.
public DeleteSecretResult withARN(String aRN)
The ARN of the secret that is now scheduled for deletion.
aRN
- The ARN of the secret that is now scheduled for deletion.public void setName(String name)
The friendly name of the secret that is now scheduled for deletion.
name
- The friendly name of the secret that is now scheduled for deletion.public String getName()
The friendly name of the secret that is now scheduled for deletion.
public DeleteSecretResult withName(String name)
The friendly name of the secret that is now scheduled for deletion.
name
- The friendly name of the secret that is now scheduled for deletion.public void setDeletionDate(Date deletionDate)
The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored. This
value is the date and time of the delete request plus the number of days specified in
RecoveryWindowInDays
.
deletionDate
- The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored.
This value is the date and time of the delete request plus the number of days specified in
RecoveryWindowInDays
.public Date getDeletionDate()
The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored. This
value is the date and time of the delete request plus the number of days specified in
RecoveryWindowInDays
.
RecoveryWindowInDays
.public DeleteSecretResult withDeletionDate(Date deletionDate)
The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored. This
value is the date and time of the delete request plus the number of days specified in
RecoveryWindowInDays
.
deletionDate
- The date and time after which this secret can be deleted by Secrets Manager and can no longer be restored.
This value is the date and time of the delete request plus the number of days specified in
RecoveryWindowInDays
.public String toString()
toString
in class Object
Object.toString()
public DeleteSecretResult clone()