@Generated(value="software.amazon.awssdk:codegen") public final class DescribePolicyRequest extends OrganizationsRequest implements ToCopyableBuilder<DescribePolicyRequest.Builder,DescribePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribePolicyRequest.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 details about.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribePolicyRequest.Builder> |
serializableBuilderClass() |
DescribePolicyRequest.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 details about. 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 DescribePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribePolicyRequest.Builder,DescribePolicyRequest>toBuilder in class OrganizationsRequestpublic static DescribePolicyRequest.Builder builder()
public static Class<? extends DescribePolicyRequest.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.