@Generated(value="software.amazon.awssdk:codegen") public final class DeletePolicyVersionRequest extends IamRequest implements ToCopyableBuilder<DeletePolicyVersionRequest.Builder,DeletePolicyVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeletePolicyVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeletePolicyVersionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyArn()
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeletePolicyVersionRequest.Builder> |
serializableBuilderClass() |
DeletePolicyVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
The policy version to delete.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyArn()
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
public final String versionId()
The policy version to delete.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
public DeletePolicyVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeletePolicyVersionRequest.Builder,DeletePolicyVersionRequest>toBuilder in class IamRequestpublic static DeletePolicyVersionRequest.Builder builder()
public static Class<? extends DeletePolicyVersionRequest.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 © 2022. All rights reserved.