@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 final 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) 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 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 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.