Class DescribeEffectivePolicyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.organizations.model.OrganizationsRequest
-
- software.amazon.awssdk.services.organizations.model.DescribeEffectivePolicyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeEffectivePolicyRequest.Builder,DescribeEffectivePolicyRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeEffectivePolicyRequest extends OrganizationsRequest implements ToCopyableBuilder<DescribeEffectivePolicyRequest.Builder,DescribeEffectivePolicyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeEffectivePolicyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeEffectivePolicyRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EffectivePolicyTypepolicyType()The type of policy that you want information about.StringpolicyTypeAsString()The type of policy that you want information about.List<SdkField<?>>sdkFields()static Class<? extends DescribeEffectivePolicyRequest.Builder>serializableBuilderClass()StringtargetId()When you're signed in as the management account, specify the ID of the account that you want details about.DescribeEffectivePolicyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyType
public final EffectivePolicyType policyType()
The type of policy that you want information about. You can specify one of the following values:
If the service returns an enum value that is not available in the current SDK version,
policyTypewill returnEffectivePolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The type of policy that you want information about. You can specify one of the following values:
- See Also:
EffectivePolicyType
-
policyTypeAsString
public final String policyTypeAsString()
The type of policy that you want information about. You can specify one of the following values:
If the service returns an enum value that is not available in the current SDK version,
policyTypewill returnEffectivePolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The type of policy that you want information about. You can specify one of the following values:
- See Also:
EffectivePolicyType
-
targetId
public final String targetId()
When you're signed in as the management 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.
- Returns:
- When you're signed in as the management 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.
-
toBuilder
public DescribeEffectivePolicyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeEffectivePolicyRequest.Builder,DescribeEffectivePolicyRequest>- Specified by:
toBuilderin classOrganizationsRequest
-
builder
public static DescribeEffectivePolicyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeEffectivePolicyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-