@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAssumeRolePolicyRequest extends IamRequest implements ToCopyableBuilder<UpdateAssumeRolePolicyRequest.Builder,UpdateAssumeRolePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateAssumeRolePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateAssumeRolePolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyDocument()
The policy that grants an entity permission to assume the role.
|
String |
roleName()
The name of the role to update with the new policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAssumeRolePolicyRequest.Builder> |
serializableBuilderClass() |
UpdateAssumeRolePolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleName()
The name of the role to update with the new policy.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public final String policyDocument()
The policy that grants an entity permission to assume the role.
You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of the ASCII
character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of
the ASCII character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
public UpdateAssumeRolePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAssumeRolePolicyRequest.Builder,UpdateAssumeRolePolicyRequest>toBuilder in class IamRequestpublic static UpdateAssumeRolePolicyRequest.Builder builder()
public static Class<? extends UpdateAssumeRolePolicyRequest.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.