* The ARN of the secret. *
*/ private String aRN; /** ** The name of the secret. *
*/ private String name; /** ** The unique identifier of the version of the secret. *
*/ private String versionId; /** ** The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. *
*/ private java.util.List* The ARN of the secret. *
* * @param aRN * The ARN of the secret. */ public void setARN(String aRN) { this.aRN = aRN; } /** ** The ARN of the secret. *
* * @return The ARN of the secret. */ public String getARN() { return this.aRN; } /** ** The ARN of the secret. *
* * @param aRN * The ARN of the secret. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSecretValueResult withARN(String aRN) { setARN(aRN); return this; } /** ** The name of the secret. *
* * @param name * The name of the secret. */ public void setName(String name) { this.name = name; } /** ** The name of the secret. *
* * @return The name of the secret. */ public String getName() { return this.name; } /** ** The name of the secret. *
* * @param name * The name of the secret. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSecretValueResult withName(String name) { setName(name); return this; } /** ** The unique identifier of the version of the secret. *
* * @param versionId * The unique identifier of the version of the secret. */ public void setVersionId(String versionId) { this.versionId = versionId; } /** ** The unique identifier of the version of the secret. *
* * @return The unique identifier of the version of the secret. */ public String getVersionId() { return this.versionId; } /** ** The unique identifier of the version of the secret. *
* * @param versionId * The unique identifier of the version of the secret. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSecretValueResult withVersionId(String versionId) { setVersionId(versionId); return this; } /** ** The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. *
* * @return The list of staging labels that are currently attached to this version of the secret. Secrets Manager * uses staging labels to track a version as it progresses through the secret rotation process. */ public java.util.List* The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. *
* * @param versionStages * The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. */ public void setVersionStages(java.util.Collection* The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels 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 * {@link #setVersionStages(java.util.Collection)} or {@link #withVersionStages(java.util.Collection)} if you want * to override the existing values. *
* * @param versionStages * The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSecretValueResult withVersionStages(String... versionStages) { if (this.versionStages == null) { setVersionStages(new java.util.ArrayList* The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. *
* * @param versionStages * The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses * staging labels to track a version as it progresses through the secret rotation process. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSecretValueResult withVersionStages(java.util.Collection