Interface UpdatePrimaryEmailAddressRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdatePrimaryEmailAddressRequest.Builder,UpdatePrimaryEmailAddressRequest>, SdkBuilder<UpdatePrimaryEmailAddressRequest.Builder,UpdatePrimaryEmailAddressRequest>, SdkPojo, SdkRequest.Builder, WorkMailRequest.Builder
Enclosing class:
UpdatePrimaryEmailAddressRequest

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

    • organizationId

      UpdatePrimaryEmailAddressRequest.Builder organizationId(String organizationId)

      The organization that contains the user, group, or resource to update.

      Parameters:
      organizationId - The organization that contains the user, group, or resource to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityId

      The user, group, or resource to update.

      The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:

      • Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234

      • Email address: entity@domain.tld

      • Entity name: entity

      Parameters:
      entityId - The user, group, or resource to update.

      The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:

      • Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234

      • Email address: entity@domain.tld

      • Entity name: entity

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

      The value of the email to be updated as primary.

      Parameters:
      email - The value of the email to be updated as primary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdatePrimaryEmailAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.