@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 friendly name of the secret that was updated.
|
String |
getVersionId()
If a new version of the secret was created by 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 friendly name of the secret that was updated.
|
void |
setVersionId(String versionId)
If a new version of the secret was created by 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 friendly name of the secret that was updated.
|
UpdateSecretResult |
withVersionId(String versionId)
If a new version of the secret was created by 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.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
aRN
- The ARN of the secret that was updated. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public String getARN()
The ARN of the secret that was updated.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public UpdateSecretResult withARN(String aRN)
The ARN of the secret that was updated.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
aRN
- The ARN of the secret that was updated. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public void setName(String name)
The friendly name of the secret that was updated.
name
- The friendly name of the secret that was updated.public String getName()
The friendly name of the secret that was updated.
public UpdateSecretResult withName(String name)
The friendly name of the secret that was updated.
name
- The friendly name of the secret that was updated.public void setVersionId(String versionId)
If a new version of the secret was created by this operation, then VersionId
contains the unique
identifier of the new version.
versionId
- If a new version of the secret was created by this operation, then VersionId
contains the
unique identifier of the new version.public String getVersionId()
If a new version of the secret was created by 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 a new version of the secret was created by this operation, then VersionId
contains the unique
identifier of the new version.
versionId
- If a new version of the secret was created by this operation, then VersionId
contains the
unique identifier of the new version.public String toString()
toString
in class Object
Object.toString()
public UpdateSecretResult clone()
Copyright © 2021. All rights reserved.