@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RotateSecretResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RotateSecretResult() |
Modifier and Type | Method and Description |
---|---|
RotateSecretResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN of the secret.
|
String |
getName()
The friendly name of the secret.
|
String |
getVersionId()
The ID of the new version of the secret created by the rotation started by this request.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN of the secret.
|
void |
setName(String name)
The friendly name of the secret.
|
void |
setVersionId(String versionId)
The ID of the new version of the secret created by the rotation started by this request.
|
String |
toString()
Returns a string representation of this object.
|
RotateSecretResult |
withARN(String aRN)
The ARN of the secret.
|
RotateSecretResult |
withName(String name)
The friendly name of the secret.
|
RotateSecretResult |
withVersionId(String versionId)
The ID of the new version of the secret created by the rotation started by this request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The ARN of the secret.
aRN
- The ARN of the secret.public String getARN()
The ARN of the secret.
public RotateSecretResult withARN(String aRN)
The ARN of the secret.
aRN
- The ARN of the secret.public void setName(String name)
The friendly name of the secret.
name
- The friendly name of the secret.public String getName()
The friendly name of the secret.
public RotateSecretResult withName(String name)
The friendly name of the secret.
name
- The friendly name of the secret.public void setVersionId(String versionId)
The ID of the new version of the secret created by the rotation started by this request.
versionId
- The ID of the new version of the secret created by the rotation started by this request.public String getVersionId()
The ID of the new version of the secret created by the rotation started by this request.
public RotateSecretResult withVersionId(String versionId)
The ID of the new version of the secret created by the rotation started by this request.
versionId
- The ID of the new version of the secret created by the rotation started by this request.public String toString()
toString
in class Object
Object.toString()
public RotateSecretResult clone()
Copyright © 2020. All rights reserved.