@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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) and AWS Service Namespaces in the AWS General Reference.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public 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 IamRequest
public static DeletePolicyVersionRequest.Builder builder()
public static Class<? extends DeletePolicyVersionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.