Interface Permission.Builder

  • Method Details

    • certificateAuthorityArn

      Permission.Builder certificateAuthorityArn(String certificateAuthorityArn)

      The Amazon Resource Number (ARN) of the private CA from which the permission was issued.

      Parameters:
      certificateAuthorityArn - The Amazon Resource Number (ARN) of the private CA from which the permission was issued.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Permission.Builder createdAt(Instant createdAt)

      The time at which the permission was created.

      Parameters:
      createdAt - The time at which the permission was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      Permission.Builder principal(String principal)

      The Amazon Web Services service or entity that holds the permission. At this time, the only valid principal is acm.amazonaws.com.

      Parameters:
      principal - The Amazon Web Services service or entity that holds the permission. At this time, the only valid principal is acm.amazonaws.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceAccount

      Permission.Builder sourceAccount(String sourceAccount)

      The ID of the account that assigned the permission.

      Parameters:
      sourceAccount - The ID of the account that assigned the permission.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionsWithStrings

      Permission.Builder actionsWithStrings(Collection<String> actions)

      The private CA actions that can be performed by the designated Amazon Web Services service.

      Parameters:
      actions - The private CA actions that can be performed by the designated Amazon Web Services service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionsWithStrings

      Permission.Builder actionsWithStrings(String... actions)

      The private CA actions that can be performed by the designated Amazon Web Services service.

      Parameters:
      actions - The private CA actions that can be performed by the designated Amazon Web Services service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The private CA actions that can be performed by the designated Amazon Web Services service.

      Parameters:
      actions - The private CA actions that can be performed by the designated Amazon Web Services service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      Permission.Builder actions(ActionType... actions)

      The private CA actions that can be performed by the designated Amazon Web Services service.

      Parameters:
      actions - The private CA actions that can be performed by the designated Amazon Web Services service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      Permission.Builder policy(String policy)

      The name of the policy that is associated with the permission.

      Parameters:
      policy - The name of the policy that is associated with the permission.
      Returns:
      Returns a reference to this object so that method calls can be chained together.