Class PutRolePermissionsBoundaryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iam.model.IamRequest
-
- software.amazon.awssdk.services.iam.model.PutRolePermissionsBoundaryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutRolePermissionsBoundaryRequest.Builder,PutRolePermissionsBoundaryRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutRolePermissionsBoundaryRequest extends IamRequest implements ToCopyableBuilder<PutRolePermissionsBoundaryRequest.Builder,PutRolePermissionsBoundaryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutRolePermissionsBoundaryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutRolePermissionsBoundaryRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpermissionsBoundary()The ARN of the managed policy that is used to set the permissions boundary for the role.StringroleName()The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.List<SdkField<?>>sdkFields()static Class<? extends PutRolePermissionsBoundaryRequest.Builder>serializableBuilderClass()PutRolePermissionsBoundaryRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
roleName
public final String roleName()
The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.
- Returns:
- The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.
-
permissionsBoundary
public final String permissionsBoundary()
The ARN of the managed policy that is used to set the permissions boundary for the role.
A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide.
For more information about policy types, see Policy types in the IAM User Guide.
- Returns:
- The ARN of the managed policy that is used to set the permissions boundary for the role.
A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide.
For more information about policy types, see Policy types in the IAM User Guide.
-
toBuilder
public PutRolePermissionsBoundaryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutRolePermissionsBoundaryRequest.Builder,PutRolePermissionsBoundaryRequest>- Specified by:
toBuilderin classIamRequest
-
builder
public static PutRolePermissionsBoundaryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutRolePermissionsBoundaryRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-