public GetSecretValueResult withVersionStages(String... versionStages) {
        if (this.versionStages == null) {
            setVersionStages(new java.util.ArrayList<String>(versionStages.length));
        }
        for (String ele : versionStages) {
            this.versionStages.add(ele);
        }
        return this;
    }
<p>
A list of all of the staging labels currently attached to this version of the secret.
</p>
<p>
<b>NOTE:</b> 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.
</p>

@param versionStages
       A list of all of the staging labels currently attached to this version of the secret.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-secretsmanager/src/main/java/com/amazonaws/services/secretsmanager/model/GetSecretValueResult.java