@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecretResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateSecretResult() |
Modifier and Type | Method and Description |
---|---|
UpdateSecretResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN of the secret that was updated.
|
String |
getName()
The name of the secret that was updated.
|
String |
getVersionId()
If Secrets Manager created a new version of the secret during this operation, then
VersionId
contains the unique identifier of the new version. |
int |
hashCode() |
void |
setARN(String aRN)
The ARN of the secret that was updated.
|
void |
setName(String name)
The name of the secret that was updated.
|
void |
setVersionId(String versionId)
If Secrets Manager created a new version of the secret during this operation, then
VersionId
contains the unique identifier of the new version. |
String |
toString()
Returns a string representation of this object.
|
UpdateSecretResult |
withARN(String aRN)
The ARN of the secret that was updated.
|
UpdateSecretResult |
withName(String name)
The name of the secret that was updated.
|
UpdateSecretResult |
withVersionId(String versionId)
If Secrets Manager created a new version of the secret during this operation, then
VersionId
contains the unique identifier of the new version. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The ARN of the secret that was updated.
aRN
- The ARN of the secret that was updated.public String getARN()
The ARN of the secret that was updated.
public UpdateSecretResult withARN(String aRN)
The ARN of the secret that was updated.
aRN
- The ARN of the secret that was updated.public void setName(String name)
The name of the secret that was updated.
name
- The name of the secret that was updated.public String getName()
The name of the secret that was updated.
public UpdateSecretResult withName(String name)
The name of the secret that was updated.
name
- The name of the secret that was updated.public void setVersionId(String versionId)
If Secrets Manager created a new version of the secret during this operation, then VersionId
contains the unique identifier of the new version.
versionId
- If Secrets Manager created a new version of the secret during this operation, then VersionId
contains the unique identifier of the new version.public String getVersionId()
If Secrets Manager created a new version of the secret during this operation, then VersionId
contains the unique identifier of the new version.
VersionId
contains the unique identifier of the new version.public UpdateSecretResult withVersionId(String versionId)
If Secrets Manager created a new version of the secret during this operation, then VersionId
contains the unique identifier of the new version.
versionId
- If Secrets Manager created a new version of the secret during this operation, then VersionId
contains the unique identifier of the new version.public String toString()
toString
in class Object
Object.toString()
public UpdateSecretResult clone()