Interface InstanceUserSummary.Builder

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

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

    • associationDate

      InstanceUserSummary.Builder associationDate(String associationDate)

      The date a user was associated with an EC2 instance.

      Parameters:
      associationDate - The date a user was associated with an EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disassociationDate

      InstanceUserSummary.Builder disassociationDate(String disassociationDate)

      The date a user was disassociated from an EC2 instance.

      Parameters:
      disassociationDate - The date a user was disassociated from an EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domain

      The domain name of the user.

      Parameters:
      domain - The domain name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityProvider

      InstanceUserSummary.Builder identityProvider(IdentityProvider identityProvider)

      An object that specifies details for the identity provider.

      Parameters:
      identityProvider - An object that specifies details for the identity provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityProvider

      default InstanceUserSummary.Builder identityProvider(Consumer<IdentityProvider.Builder> identityProvider)

      An object that specifies details for the identity provider.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to identityProvider(IdentityProvider).

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

      InstanceUserSummary.Builder instanceId(String instanceId)

      The ID of the EC2 instance, which provides user-based subscriptions.

      Parameters:
      instanceId - The ID of the EC2 instance, which provides user-based subscriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of a user associated with an EC2 instance.

      Parameters:
      status - The status of a user associated with an EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusMessage

      InstanceUserSummary.Builder statusMessage(String statusMessage)

      The status message for users of an EC2 instance.

      Parameters:
      statusMessage - The status message for users of an EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      InstanceUserSummary.Builder username(String username)

      The user name from the identity provider for the user.

      Parameters:
      username - The user name from the identity provider for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.