Interface WorkspaceEnforcedPolicy.Builder

  • Method Details

    • id

      The identifier of the WorkSpace-enforced policy.

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

      The name of the WorkSpace-enforced policy.

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

      WorkspaceEnforcedPolicy.Builder policyBody(String policyBody)

      Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.

      Parameters:
      policyBody - Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The time when the WorkSpace-enforced policy was created.

      Parameters:
      createdAt - The time when the WorkSpace-enforced policy was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      The owner of the WorkSpace-enforced policy:

      • SELF – Your account owns the policy.

      • AMAZON – Amazon owns the policy. You can use it, but you can't change or delete it.

      Parameters:
      owner - The owner of the WorkSpace-enforced policy:

      • SELF – Your account owns the policy.

      • AMAZON – Amazon owns the policy. You can use it, but you can't change or delete it.

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

      The owner of the WorkSpace-enforced policy:

      • SELF – Your account owns the policy.

      • AMAZON – Amazon owns the policy. You can use it, but you can't change or delete it.

      Parameters:
      owner - The owner of the WorkSpace-enforced policy:

      • SELF – Your account owns the policy.

      • AMAZON – Amazon owns the policy. You can use it, but you can't change or delete it.

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