@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisablePolicyTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DisablePolicyTypeRequest() |
Modifier and Type | Method and Description |
---|---|
DisablePolicyTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyType()
The policy type that you want to disable in this root.
|
String |
getRootId()
The unique identifier (ID) of the root in which you want to disable a policy type.
|
int |
hashCode() |
void |
setPolicyType(PolicyType policyType)
The policy type that you want to disable in this root.
|
void |
setPolicyType(String policyType)
The policy type that you want to disable in this root.
|
void |
setRootId(String rootId)
The unique identifier (ID) of the root in which you want to disable a policy type.
|
String |
toString()
Returns a string representation of this object.
|
DisablePolicyTypeRequest |
withPolicyType(PolicyType policyType)
The policy type that you want to disable in this root.
|
DisablePolicyTypeRequest |
withPolicyType(String policyType)
The policy type that you want to disable in this root.
|
DisablePolicyTypeRequest |
withRootId(String rootId)
The unique identifier (ID) of the root in which you want to disable a policy type.
|
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 setRootId(String rootId)
The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListRoots operation.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
rootId
- The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from
the ListRoots operation.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
public String getRootId()
The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListRoots operation.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
public DisablePolicyTypeRequest withRootId(String rootId)
The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListRoots operation.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
rootId
- The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from
the ListRoots operation.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
public void setPolicyType(String policyType)
The policy type that you want to disable in this root. You can specify one of the following values:
policyType
- The policy type that you want to disable in this root. You can specify one of the following values:
PolicyType
public String getPolicyType()
The policy type that you want to disable in this root. You can specify one of the following values:
PolicyType
public DisablePolicyTypeRequest withPolicyType(String policyType)
The policy type that you want to disable in this root. You can specify one of the following values:
policyType
- The policy type that you want to disable in this root. You can specify one of the following values:
PolicyType
public void setPolicyType(PolicyType policyType)
The policy type that you want to disable in this root. You can specify one of the following values:
policyType
- The policy type that you want to disable in this root. You can specify one of the following values:
PolicyType
public DisablePolicyTypeRequest withPolicyType(PolicyType policyType)
The policy type that you want to disable in this root. You can specify one of the following values:
policyType
- The policy type that you want to disable in this root. You can specify one of the following values:
PolicyType
public String toString()
toString
in class Object
Object.toString()
public DisablePolicyTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()