@Generated(value="software.amazon.awssdk:codegen") public final class IamRoleConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IamRoleConfiguration.Builder,IamRoleConfiguration>
The proposed access control configuration for an IAM role. You can propose a configuration for a new IAM role or an existing IAM role that you own by specifying the trust policy. If the configuration is for a new IAM role, you must specify the trust policy. If the configuration is for an existing IAM role that you own and you do not propose the trust policy, the access preview uses the existing trust policy for the role. The proposed trust policy cannot be an empty string. For more information about role trust policy limits, see IAM and STS quotas.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IamRoleConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IamRoleConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IamRoleConfiguration.Builder> |
serializableBuilderClass() |
IamRoleConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trustPolicy()
The proposed trust policy for the IAM role.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trustPolicy()
The proposed trust policy for the IAM role.
public IamRoleConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IamRoleConfiguration.Builder,IamRoleConfiguration>public static IamRoleConfiguration.Builder builder()
public static Class<? extends IamRoleConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.