@Generated(value="software.amazon.awssdk:codegen") public final class DisablePolicyTypeRequest extends OrganizationsRequest implements ToCopyableBuilder<DisablePolicyTypeRequest.Builder,DisablePolicyTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DisablePolicyTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DisablePolicyTypeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PolicyType |
policyType()
The policy type that you want to disable in this root.
|
String |
policyTypeAsString()
The policy type that you want to disable in this root.
|
String |
rootId()
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.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
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, policyType will
return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
policyTypeAsString().
PolicyTypepublic 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, policyType will
return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
policyTypeAsString().
PolicyTypepublic DisablePolicyTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DisablePolicyTypeRequest.Builder,DisablePolicyTypeRequest>toBuilder in class OrganizationsRequestpublic static DisablePolicyTypeRequest.Builder builder()
public static Class<? extends DisablePolicyTypeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.