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.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

        Parameters:
        createDate - When the policy was created.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

        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.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

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

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

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