public class SetDefaultPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetDefaultPolicyVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetDefaultPolicyVersionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPolicyArn() |
String |
getVersionId()
The version of the policy to set as the default (operative) version.
|
int |
hashCode() |
void |
setPolicyArn(String policyArn) |
void |
setVersionId(String versionId)
The version of the policy to set as the default (operative) version.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetDefaultPolicyVersionRequest |
withPolicyArn(String policyArn) |
SetDefaultPolicyVersionRequest |
withVersionId(String versionId)
The version of the policy to set as the default (operative) version.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPolicyArn(String policyArn)
policyArn - public String getPolicyArn()
public SetDefaultPolicyVersionRequest withPolicyArn(String policyArn)
policyArn - public void setVersionId(String versionId)
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
versionId - The version of the policy to set as the default (operative)
version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public String getVersionId()
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public SetDefaultPolicyVersionRequest withVersionId(String versionId)
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
versionId - The version of the policy to set as the default (operative)
version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public String toString()
toString in class ObjectObject.toString()public SetDefaultPolicyVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.