@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetDefaultPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the SetDefaultPolicyVersion operation.
NOOP
Constructor and Description |
---|
SetDefaultPolicyVersionRequest() |
Modifier and Type | Method and Description |
---|---|
SetDefaultPolicyVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The policy name.
|
String |
getPolicyVersionId()
The policy version ID.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The policy name.
|
void |
setPolicyVersionId(String policyVersionId)
The policy version ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetDefaultPolicyVersionRequest |
withPolicyName(String policyName)
The policy name.
|
SetDefaultPolicyVersionRequest |
withPolicyVersionId(String policyVersionId)
The policy version ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPolicyName(String policyName)
The policy name.
policyName
- The policy name.public String getPolicyName()
The policy name.
public SetDefaultPolicyVersionRequest withPolicyName(String policyName)
The policy name.
policyName
- The policy name.public void setPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId
- The policy version ID.public String getPolicyVersionId()
The policy version ID.
public SetDefaultPolicyVersionRequest withPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId
- The policy version ID.public String toString()
toString
in class Object
Object.toString()
public SetDefaultPolicyVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.