@Generated(value="software.amazon.awssdk:codegen") public final class SetDefaultPolicyVersionRequest extends IamRequest implements ToCopyableBuilder<SetDefaultPolicyVersionRequest.Builder,SetDefaultPolicyVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetDefaultPolicyVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetDefaultPolicyVersionRequest.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 whose default version you want to set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetDefaultPolicyVersionRequest.Builder> |
serializableBuilderClass() |
SetDefaultPolicyVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
The version of the policy to set as the default (operative) version.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String policyArn()
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
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 version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public SetDefaultPolicyVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetDefaultPolicyVersionRequest.Builder,SetDefaultPolicyVersionRequest>toBuilder in class IamRequestpublic static SetDefaultPolicyVersionRequest.Builder builder()
public static Class<? extends SetDefaultPolicyVersionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.