Class DisablePolicyTypeRequest
- 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.DisablePolicyTypeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DisablePolicyTypeRequest.Builder,DisablePolicyTypeRequest>
@Generated("software.amazon.awssdk:codegen") public final class DisablePolicyTypeRequest extends OrganizationsRequest implements ToCopyableBuilder<DisablePolicyTypeRequest.Builder,DisablePolicyTypeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDisablePolicyTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisablePolicyTypeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PolicyTypepolicyType()The policy type that you want to disable in this root.StringpolicyTypeAsString()The policy type that you want to disable in this root.StringrootId()The unique identifier (ID) of the root in which you want to disable a policy type.List<SdkField<?>>sdkFields()static Class<? extends DisablePolicyTypeRequest.Builder>serializableBuilderClass()DisablePolicyTypeRequest.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
-
rootId
public final 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.
- Returns:
- 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.
-
policyType
public final PolicyType policyType()
The policy type that you want to disable in this root. 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 returnPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The policy type that you want to disable in this root. You can specify one of the following values:
- See Also:
PolicyType
-
policyTypeAsString
public final String policyTypeAsString()
The policy type that you want to disable in this root. 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 returnPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The policy type that you want to disable in this root. You can specify one of the following values:
- See Also:
PolicyType
-
toBuilder
public DisablePolicyTypeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DisablePolicyTypeRequest.Builder,DisablePolicyTypeRequest>- Specified by:
toBuilderin classOrganizationsRequest
-
builder
public static DisablePolicyTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DisablePolicyTypeRequest.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
-
-