@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()
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 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.
|
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, 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 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 lowercase 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 lowercase 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 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 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 lowercase 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 lowercase letters or digits.
public void setPolicyType(String policyType)
The policy type that you want to enable. You can specify one of the following values:
policyType
- The policy type that you want to enable. You can specify one of the following values:
PolicyType
public String getPolicyType()
The policy type that you want to enable. You can specify one of the following values:
PolicyType
public EnablePolicyTypeRequest withPolicyType(String policyType)
The policy type that you want to enable. You can specify one of the following values:
policyType
- The policy type that you want to enable. You can specify one of the following values:
PolicyType
public void setPolicyType(PolicyType policyType)
The policy type that you want to enable. You can specify one of the following values:
policyType
- The policy type that you want to enable. You can specify one of the following values:
PolicyType
public EnablePolicyTypeRequest withPolicyType(PolicyType policyType)
The policy type that you want to enable. You can specify one of the following values:
policyType
- The policy type that you want to enable. You can specify one of the following values:
PolicyType
public String toString()
toString
in class Object
Object.toString()
public EnablePolicyTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()