Class IamRoleConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.accessanalyzer.model.IamRoleConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IamRoleConfiguration.Builder,IamRoleConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIamRoleConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IamRoleConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends IamRoleConfiguration.Builder>serializableBuilderClass()IamRoleConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrustPolicy()The proposed trust policy for the IAM role.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
trustPolicy
public final String trustPolicy()
The proposed trust policy for the IAM role.
- Returns:
- The proposed trust policy for the IAM role.
-
toBuilder
public IamRoleConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IamRoleConfiguration.Builder,IamRoleConfiguration>
-
builder
public static IamRoleConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends IamRoleConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-