Class PermissionsBoundaryDecisionDetail
- java.lang.Object
-
- software.amazon.awssdk.services.iam.model.PermissionsBoundaryDecisionDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PermissionsBoundaryDecisionDetail.Builder,PermissionsBoundaryDecisionDetail>
@Generated("software.amazon.awssdk:codegen") public final class PermissionsBoundaryDecisionDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PermissionsBoundaryDecisionDetail.Builder,PermissionsBoundaryDecisionDetail>
Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePermissionsBoundaryDecisionDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowedByPermissionsBoundary()Specifies whether an action is allowed by a permissions boundary that is applied to an IAM entity (user or role).static PermissionsBoundaryDecisionDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PermissionsBoundaryDecisionDetail.Builder>serializableBuilderClass()PermissionsBoundaryDecisionDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
allowedByPermissionsBoundary
public final Boolean allowedByPermissionsBoundary()
Specifies whether an action is allowed by a permissions boundary that is applied to an IAM entity (user or role). A value of
truemeans that the permissions boundary does not deny the action. This means that the policy includes anAllowstatement that matches the request. In this case, if an identity-based policy also allows the action, the request is allowed. A value offalsemeans that either the requested action is not allowed (implicitly denied) or that the action is explicitly denied by the permissions boundary. In both of these cases, the action is not allowed, regardless of the identity-based policy.- Returns:
- Specifies whether an action is allowed by a permissions boundary that is applied to an IAM entity (user
or role). A value of
truemeans that the permissions boundary does not deny the action. This means that the policy includes anAllowstatement that matches the request. In this case, if an identity-based policy also allows the action, the request is allowed. A value offalsemeans that either the requested action is not allowed (implicitly denied) or that the action is explicitly denied by the permissions boundary. In both of these cases, the action is not allowed, regardless of the identity-based policy.
-
toBuilder
public PermissionsBoundaryDecisionDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PermissionsBoundaryDecisionDetail.Builder,PermissionsBoundaryDecisionDetail>
-
builder
public static PermissionsBoundaryDecisionDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends PermissionsBoundaryDecisionDetail.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-