@Generated(value="software.amazon.awssdk:codegen") public final class DeletePolicyRequest extends OrganizationsRequest implements ToCopyableBuilder<DeletePolicyRequest.Builder,DeletePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeletePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeletePolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyId()
The unique identifier (ID) of the policy that you want to delete.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeletePolicyRequest.Builder> |
serializableBuilderClass() |
DeletePolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyId()
The unique identifier (ID) of the policy that you want to delete. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).
public DeletePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeletePolicyRequest.Builder,DeletePolicyRequest>toBuilder in class OrganizationsRequestpublic static DeletePolicyRequest.Builder builder()
public static Class<? extends DeletePolicyRequest.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.