Interface CheckNoPublicAccessRequest.Builder

  • Method Details

    • policyDocument

      CheckNoPublicAccessRequest.Builder policyDocument(String policyDocument)

      The JSON policy document to evaluate for public access.

      Parameters:
      policyDocument - The JSON policy document to evaluate for public access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      CheckNoPublicAccessRequest.Builder resourceType(String resourceType)

      The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

      For resource types not supported as valid values, IAM Access Analyzer will return an error.

      Parameters:
      resourceType - The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

      For resource types not supported as valid values, IAM Access Analyzer will return an error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

      For resource types not supported as valid values, IAM Access Analyzer will return an error.

      Parameters:
      resourceType - The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

      For resource types not supported as valid values, IAM Access Analyzer will return an error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CheckNoPublicAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.