Interface AwsIamPolicyDetails.Builder

    • Method Detail

      • attachmentCount

        AwsIamPolicyDetails.Builder attachmentCount​(Integer attachmentCount)

        The number of users, groups, and roles that the policy is attached to.

        Parameters:
        attachmentCount - The number of users, groups, and roles that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createDate

        AwsIamPolicyDetails.Builder createDate​(String createDate)

        When the policy was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        createDate - When the policy was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

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

        AwsIamPolicyDetails.Builder defaultVersionId​(String defaultVersionId)

        The identifier of the default version of the policy.

        Parameters:
        defaultVersionId - The identifier of the default version of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        AwsIamPolicyDetails.Builder description​(String description)

        A description of the policy.

        Parameters:
        description - A description of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isAttachable

        AwsIamPolicyDetails.Builder isAttachable​(Boolean isAttachable)

        Whether the policy can be attached to a user, group, or role.

        Parameters:
        isAttachable - Whether the policy can be attached to a user, group, or role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        AwsIamPolicyDetails.Builder path​(String path)

        The path to the policy.

        Parameters:
        path - The path to the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsBoundaryUsageCount

        AwsIamPolicyDetails.Builder permissionsBoundaryUsageCount​(Integer permissionsBoundaryUsageCount)

        The number of users and roles that use the policy to set the permissions boundary.

        Parameters:
        permissionsBoundaryUsageCount - The number of users and roles that use the policy to set the permissions boundary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyId

        AwsIamPolicyDetails.Builder policyId​(String policyId)

        The unique identifier of the policy.

        Parameters:
        policyId - The unique identifier of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyName

        AwsIamPolicyDetails.Builder policyName​(String policyName)

        The name of the policy.

        Parameters:
        policyName - The name of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyVersionList

        AwsIamPolicyDetails.Builder policyVersionList​(Collection<AwsIamPolicyVersion> policyVersionList)

        List of versions of the policy.

        Parameters:
        policyVersionList - List of versions of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyVersionList

        AwsIamPolicyDetails.Builder policyVersionList​(AwsIamPolicyVersion... policyVersionList)

        List of versions of the policy.

        Parameters:
        policyVersionList - List of versions of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateDate

        AwsIamPolicyDetails.Builder updateDate​(String updateDate)

        When the policy was most recently updated.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        updateDate - When the policy was most recently updated.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

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