Interface AllowedPrincipal.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AllowedPrincipal.Builder,AllowedPrincipal>, SdkBuilder<AllowedPrincipal.Builder,AllowedPrincipal>, SdkPojo
Enclosing class:
AllowedPrincipal

public static interface AllowedPrincipal.Builder extends SdkPojo, CopyableBuilder<AllowedPrincipal.Builder,AllowedPrincipal>
  • Method Details

    • principalType

      AllowedPrincipal.Builder principalType(String principalType)

      The type of principal.

      Parameters:
      principalType - The type of principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalType

      AllowedPrincipal.Builder principalType(PrincipalType principalType)

      The type of principal.

      Parameters:
      principalType - The type of principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principal

      AllowedPrincipal.Builder principal(String principal)

      The Amazon Resource Name (ARN) of the principal.

      Parameters:
      principal - The Amazon Resource Name (ARN) of the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • servicePermissionId

      AllowedPrincipal.Builder servicePermissionId(String servicePermissionId)

      The ID of the service permission.

      Parameters:
      servicePermissionId - The ID of the service permission.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags.

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

      The tags.

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

      The tags.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceId

      AllowedPrincipal.Builder serviceId(String serviceId)

      The ID of the service.

      Parameters:
      serviceId - The ID of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.