Interface AddedPrincipal.Builder

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

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

    • principalType

      AddedPrincipal.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

      AddedPrincipal.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

      AddedPrincipal.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

      AddedPrincipal.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.
    • serviceId

      AddedPrincipal.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.