Interface Activation.Builder

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

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

    • activationId

      Activation.Builder activationId(String activationId)

      The ID created by Systems Manager when you submitted the activation.

      Parameters:
      activationId - The ID created by Systems Manager when you submitted the activation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Activation.Builder description(String description)

      A user defined description of the activation.

      Parameters:
      description - A user defined description of the activation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultInstanceName

      Activation.Builder defaultInstanceName(String defaultInstanceName)

      A name for the managed node when it is created.

      Parameters:
      defaultInstanceName - A name for the managed node when it is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamRole

      Activation.Builder iamRole(String iamRole)

      The Identity and Access Management (IAM) role to assign to the managed node.

      Parameters:
      iamRole - The Identity and Access Management (IAM) role to assign to the managed node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationLimit

      Activation.Builder registrationLimit(Integer registrationLimit)

      The maximum number of managed nodes that can be registered using this activation.

      Parameters:
      registrationLimit - The maximum number of managed nodes that can be registered using this activation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationsCount

      Activation.Builder registrationsCount(Integer registrationsCount)

      The number of managed nodes already registered with this activation.

      Parameters:
      registrationsCount - The number of managed nodes already registered with this activation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationDate

      Activation.Builder expirationDate(Instant expirationDate)

      The date when this activation can no longer be used to register managed nodes.

      Parameters:
      expirationDate - The date when this activation can no longer be used to register managed nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expired

      Activation.Builder expired(Boolean expired)

      Whether or not the activation is expired.

      Parameters:
      expired - Whether or not the activation is expired.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      Activation.Builder createdDate(Instant createdDate)

      The date the activation was created.

      Parameters:
      createdDate - The date the activation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags assigned to the activation.

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

      Activation.Builder tags(Tag... tags)

      Tags assigned to the activation.

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

      Tags assigned to the activation.

      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: