@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutSecretValueResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutSecretValueResult() |
Modifier and Type | Method and Description |
---|---|
PutSecretValueResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) for the secret for which you just created a version.
|
String |
getName()
The friendly name of the secret for which you just created or updated a version.
|
String |
getVersionId()
The unique identifier of the version of the secret you just created or updated.
|
List<String> |
getVersionStages()
The list of staging labels that are currently attached to this version of the secret.
|
int |
hashCode() |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) for the secret for which you just created a version.
|
void |
setName(String name)
The friendly name of the secret for which you just created or updated a version.
|
void |
setVersionId(String versionId)
The unique identifier of the version of the secret you just created or updated.
|
void |
setVersionStages(Collection<String> versionStages)
The list of staging labels that are currently attached to this version of the secret.
|
String |
toString()
Returns a string representation of this object.
|
PutSecretValueResult |
withARN(String aRN)
The Amazon Resource Name (ARN) for the secret for which you just created a version.
|
PutSecretValueResult |
withName(String name)
The friendly name of the secret for which you just created or updated a version.
|
PutSecretValueResult |
withVersionId(String versionId)
The unique identifier of the version of the secret you just created or updated.
|
PutSecretValueResult |
withVersionStages(Collection<String> versionStages)
The list of staging labels that are currently attached to this version of the secret.
|
PutSecretValueResult |
withVersionStages(String... versionStages)
The list of staging labels that are currently attached to this version of the secret.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The Amazon Resource Name (ARN) for the secret for which you just created a version.
aRN
- The Amazon Resource Name (ARN) for the secret for which you just created a version.public String getARN()
The Amazon Resource Name (ARN) for the secret for which you just created a version.
public PutSecretValueResult withARN(String aRN)
The Amazon Resource Name (ARN) for the secret for which you just created a version.
aRN
- The Amazon Resource Name (ARN) for the secret for which you just created a version.public void setName(String name)
The friendly name of the secret for which you just created or updated a version.
name
- The friendly name of the secret for which you just created or updated a version.public String getName()
The friendly name of the secret for which you just created or updated a version.
public PutSecretValueResult withName(String name)
The friendly name of the secret for which you just created or updated a version.
name
- The friendly name of the secret for which you just created or updated a version.public void setVersionId(String versionId)
The unique identifier of the version of the secret you just created or updated.
versionId
- The unique identifier of the version of the secret you just created or updated.public String getVersionId()
The unique identifier of the version of the secret you just created or updated.
public PutSecretValueResult withVersionId(String versionId)
The unique identifier of the version of the secret you just created or updated.
versionId
- The unique identifier of the version of the secret you just created or updated.public List<String> getVersionStages()
The list of staging labels that are currently attached to this version of the secret. Staging labels are used to track a version as it progresses through the secret rotation process.
public void setVersionStages(Collection<String> versionStages)
The list of staging labels that are currently attached to this version of the secret. Staging labels are used to track a version as it progresses through the secret rotation process.
versionStages
- The list of staging labels that are currently attached to this version of the secret. Staging labels are
used to track a version as it progresses through the secret rotation process.public PutSecretValueResult withVersionStages(String... versionStages)
The list of staging labels that are currently attached to this version of the secret. Staging labels are used to track a version as it progresses through the secret rotation process.
NOTE: This method appends the values to the existing list (if any). Use
setVersionStages(java.util.Collection)
or withVersionStages(java.util.Collection)
if you want
to override the existing values.
versionStages
- The list of staging labels that are currently attached to this version of the secret. Staging labels are
used to track a version as it progresses through the secret rotation process.public PutSecretValueResult withVersionStages(Collection<String> versionStages)
The list of staging labels that are currently attached to this version of the secret. Staging labels are used to track a version as it progresses through the secret rotation process.
versionStages
- The list of staging labels that are currently attached to this version of the secret. Staging labels are
used to track a version as it progresses through the secret rotation process.public String toString()
toString
in class Object
Object.toString()
public PutSecretValueResult clone()
Copyright © 2020. All rights reserved.