public static interface Activation.Builder extends SdkPojo, CopyableBuilder<Activation.Builder,Activation>
| Modifier and Type | Method and Description |
|---|---|
Activation.Builder |
activationId(String activationId)
The ID created by Systems Manager when you submitted the activation.
|
Activation.Builder |
createdDate(Instant createdDate)
The date the activation was created.
|
Activation.Builder |
defaultInstanceName(String defaultInstanceName)
A name for the managed node when it is created.
|
Activation.Builder |
description(String description)
A user defined description of the activation.
|
Activation.Builder |
expirationDate(Instant expirationDate)
The date when this activation can no longer be used to register managed nodes.
|
Activation.Builder |
expired(Boolean expired)
Whether or not the activation is expired.
|
Activation.Builder |
iamRole(String iamRole)
The Identity and Access Management (IAM) role to assign to the managed node.
|
Activation.Builder |
registrationLimit(Integer registrationLimit)
The maximum number of managed nodes that can be registered using this activation.
|
Activation.Builder |
registrationsCount(Integer registrationsCount)
The number of managed nodes already registered with this activation.
|
Activation.Builder |
tags(Collection<Tag> tags)
Tags assigned to the activation.
|
Activation.Builder |
tags(Consumer<Tag.Builder>... tags)
Tags assigned to the activation.
|
Activation.Builder |
tags(Tag... tags)
Tags assigned to the activation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildActivation.Builder activationId(String activationId)
The ID created by Systems Manager when you submitted the activation.
activationId - The ID created by Systems Manager when you submitted the activation.Activation.Builder description(String description)
A user defined description of the activation.
description - A user defined description of the activation.Activation.Builder defaultInstanceName(String defaultInstanceName)
A name for the managed node when it is created.
defaultInstanceName - A name for the managed node when it is created.Activation.Builder iamRole(String iamRole)
The Identity and Access Management (IAM) role to assign to the managed node.
iamRole - The Identity and Access Management (IAM) role to assign to the managed node.Activation.Builder registrationLimit(Integer registrationLimit)
The maximum number of managed nodes that can be registered using this activation.
registrationLimit - The maximum number of managed nodes that can be registered using this activation.Activation.Builder registrationsCount(Integer registrationsCount)
The number of managed nodes already registered with this activation.
registrationsCount - The number of managed nodes already registered with this activation.Activation.Builder expirationDate(Instant expirationDate)
The date when this activation can no longer be used to register managed nodes.
expirationDate - The date when this activation can no longer be used to register managed nodes.Activation.Builder expired(Boolean expired)
Whether or not the activation is expired.
expired - Whether or not the activation is expired.Activation.Builder createdDate(Instant createdDate)
The date the activation was created.
createdDate - The date the activation was created.Activation.Builder tags(Collection<Tag> tags)
Tags assigned to the activation.
tags - Tags assigned to the activation.Activation.Builder tags(Tag... tags)
Tags assigned to the activation.
tags - Tags assigned to the activation.Activation.Builder tags(Consumer<Tag.Builder>... tags)
Tags assigned to the activation.
This is a convenience method that creates an instance of theTag.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.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.