@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSecretResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSecretResult() |
Modifier and Type | Method and Description |
---|---|
CreateSecretResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the secret that you just created.
|
String |
getName()
The friendly name of the secret that you just created.
|
String |
getVersionId()
The unique identifier associated with the version of the secret you just created.
|
int |
hashCode() |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
|
void |
setName(String name)
The friendly name of the secret that you just created.
|
void |
setVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
|
String |
toString()
Returns a string representation of this object.
|
CreateSecretResult |
withARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
|
CreateSecretResult |
withName(String name)
The friendly name of the secret that you just created.
|
CreateSecretResult |
withVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
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 Amazon Resource Name (ARN) of the secret that you just created. 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 Amazon Resource Name (ARN) of the secret that you just created.
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 CreateSecretResult withARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
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 Amazon Resource Name (ARN) of the secret that you just created. 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 you just created.
name
- The friendly name of the secret that you just created.public String getName()
The friendly name of the secret that you just created.
public CreateSecretResult withName(String name)
The friendly name of the secret that you just created.
name
- The friendly name of the secret that you just created.public void setVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
versionId
- The unique identifier associated with the version of the secret you just created.public String getVersionId()
The unique identifier associated with the version of the secret you just created.
public CreateSecretResult withVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
versionId
- The unique identifier associated with the version of the secret you just created.public String toString()
toString
in class Object
Object.toString()
public CreateSecretResult clone()
Copyright © 2021. All rights reserved.