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:
  • Method Details

    • 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 true means that the permissions boundary does not deny the action. This means that the policy includes an Allow statement that matches the request. In this case, if an identity-based policy also allows the action, the request is allowed. A value of false means 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 true means that the permissions boundary does not deny the action. This means that the policy includes an Allow statement that matches the request. In this case, if an identity-based policy also allows the action, the request is allowed. A value of false means 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

      Specified by:
      toBuilder in interface ToCopyableBuilder<PermissionsBoundaryDecisionDetail.Builder,PermissionsBoundaryDecisionDetail>
    • builder

    • serializableBuilderClass

      public static Class<? extends PermissionsBoundaryDecisionDetail.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo