@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 this secret.
|
String |
getName()
The friendly name of this secret.
|
String |
getVersionId()
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN of this secret.
|
void |
setName(String name)
The friendly name of this secret.
|
void |
setVersionId(String versionId)
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateSecretResult |
withARN(String aRN)
The ARN of this secret.
|
UpdateSecretResult |
withName(String name)
The friendly name of this secret.
|
UpdateSecretResult |
withVersionId(String versionId)
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The ARN of this secret.
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 this secret. 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 this secret.
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 this secret.
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 this secret. 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 this secret.
name
- The friendly name of this secret.public String getName()
The friendly name of this secret.
public UpdateSecretResult withName(String name)
The friendly name of this secret.
name
- The friendly name of this secret.public void setVersionId(String versionId)
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
versionId
- If a version of the secret was created or updated by this operation, then its unique identifier is
returned.public String getVersionId()
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
public UpdateSecretResult withVersionId(String versionId)
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
versionId
- If a version of the secret was created or updated by this operation, then its unique identifier is
returned.public String toString()
toString
in class Object
Object.toString()
public UpdateSecretResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.