@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnablePolicyTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
EnablePolicyTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnablePolicyTypeRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyType()
The policy type that you want to enable.
|
String |
getRootId()
The unique identifier (ID) of the root in which you want to enable a policy type.
|
int |
hashCode() |
void |
setPolicyType(PolicyType policyType)
The policy type that you want to enable.
|
void |
setPolicyType(String policyType)
The policy type that you want to enable.
|
void |
setRootId(String rootId)
The unique identifier (ID) of the root in which you want to enable a policy type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnablePolicyTypeRequest |
withPolicyType(PolicyType policyType)
The policy type that you want to enable.
|
EnablePolicyTypeRequest |
withPolicyType(String policyType)
The policy type that you want to enable.
|
EnablePolicyTypeRequest |
withRootId(String rootId)
The unique identifier (ID) of the root in which you want to enable a policy type.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setRootId(String rootId)
The unique identifier (ID) of the root in which you want to enable 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 lower-case letters or digits.
rootId - The unique identifier (ID) of the root in which you want to enable 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 lower-case letters or digits.
public String getRootId()
The unique identifier (ID) of the root in which you want to enable 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 lower-case letters or digits.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.
public EnablePolicyTypeRequest withRootId(String rootId)
The unique identifier (ID) of the root in which you want to enable 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 lower-case letters or digits.
rootId - The unique identifier (ID) of the root in which you want to enable 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 lower-case letters or digits.
public void setPolicyType(String policyType)
The policy type that you want to enable.
policyType - The policy type that you want to enable.PolicyTypepublic String getPolicyType()
The policy type that you want to enable.
PolicyTypepublic EnablePolicyTypeRequest withPolicyType(String policyType)
The policy type that you want to enable.
policyType - The policy type that you want to enable.PolicyTypepublic void setPolicyType(PolicyType policyType)
The policy type that you want to enable.
policyType - The policy type that you want to enable.PolicyTypepublic EnablePolicyTypeRequest withPolicyType(PolicyType policyType)
The policy type that you want to enable.
policyType - The policy type that you want to enable.PolicyTypepublic String toString()
toString in class ObjectObject.toString()public EnablePolicyTypeRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.