Interface ServicePolicyDisassociatedMetadata.Builder

  • Method Details

    • policyName

      The name of the disassociated policy.

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

      Sets the value of the PolicyArn property for this object.
      Parameters:
      policyArn - The new value for the PolicyArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyOwnerAccountId

      ServicePolicyDisassociatedMetadata.Builder policyOwnerAccountId(String policyOwnerAccountId)

      The account that owns the policy.

      Parameters:
      policyOwnerAccountId - The account that owns the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policySource

      The source of the policy.

      • SELF — the policy belongs to the account that owns the service.

      • CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.

      Parameters:
      policySource - The source of the policy.

      • SELF — the policy belongs to the account that owns the service.

      • CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.

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

      The source of the policy.

      • SELF — the policy belongs to the account that owns the service.

      • CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.

      Parameters:
      policySource - The source of the policy.

      • SELF — the policy belongs to the account that owns the service.

      • CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.

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

      The reason the policy was disassociated from the service.

      Parameters:
      reason - The reason the policy was disassociated from the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      The reason the policy was disassociated from the service.

      Parameters:
      reason - The reason the policy was disassociated from the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: