@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEffectivePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEffectivePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEffectivePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyType()
The type of policy that you want information about.
|
String |
getTargetId()
When you're signed in as the master account, specify the ID of the account that you want details about.
|
int |
hashCode() |
void |
setPolicyType(String policyType)
The type of policy that you want information about.
|
void |
setTargetId(String targetId)
When you're signed in as the master account, specify the ID of the account that you want details about.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEffectivePolicyRequest |
withPolicyType(EffectivePolicyType policyType)
The type of policy that you want information about.
|
DescribeEffectivePolicyRequest |
withPolicyType(String policyType)
The type of policy that you want information about.
|
DescribeEffectivePolicyRequest |
withTargetId(String targetId)
When you're signed in as the master account, specify the ID of the account that you want details about.
|
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 setPolicyType(String policyType)
The type of policy that you want information about. You can specify one of the following values:
policyType
- The type of policy that you want information about. You can specify one of the following values:
EffectivePolicyType
public String getPolicyType()
The type of policy that you want information about. You can specify one of the following values:
EffectivePolicyType
public DescribeEffectivePolicyRequest withPolicyType(String policyType)
The type of policy that you want information about. You can specify one of the following values:
policyType
- The type of policy that you want information about. You can specify one of the following values:
EffectivePolicyType
public DescribeEffectivePolicyRequest withPolicyType(EffectivePolicyType policyType)
The type of policy that you want information about. You can specify one of the following values:
policyType
- The type of policy that you want information about. You can specify one of the following values:
EffectivePolicyType
public void setTargetId(String targetId)
When you're signed in as the master account, specify the ID of the account that you want details about. Specifying an organization root or organizational unit (OU) as the target is not supported.
targetId
- When you're signed in as the master account, specify the ID of the account that you want details about.
Specifying an organization root or organizational unit (OU) as the target is not supported.public String getTargetId()
When you're signed in as the master account, specify the ID of the account that you want details about. Specifying an organization root or organizational unit (OU) as the target is not supported.
public DescribeEffectivePolicyRequest withTargetId(String targetId)
When you're signed in as the master account, specify the ID of the account that you want details about. Specifying an organization root or organizational unit (OU) as the target is not supported.
targetId
- When you're signed in as the master account, specify the ID of the account that you want details about.
Specifying an organization root or organizational unit (OU) as the target is not supported.public String toString()
toString
in class Object
Object.toString()
public DescribeEffectivePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()