Interface Activation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Activation.Builder,
,Activation> SdkBuilder<Activation.Builder,
,Activation> SdkPojo
- Enclosing class:
Activation
-
Method Summary
Modifier and TypeMethodDescriptionactivationId
(String activationId) The ID created by Systems Manager when you submitted the activation.createdDate
(Instant createdDate) The date the activation was created.defaultInstanceName
(String defaultInstanceName) A name for the managed node when it is created.description
(String description) A user defined description of the activation.expirationDate
(Instant expirationDate) The date when this activation can no longer be used to register managed nodes.Whether or not the activation is expired.The Identity and Access Management (IAM) role to assign to the managed node.registrationLimit
(Integer registrationLimit) The maximum number of managed nodes that can be registered using this activation.registrationsCount
(Integer registrationsCount) The number of managed nodes already registered with this activation.tags
(Collection<Tag> tags) Tags assigned to the activation.tags
(Consumer<Tag.Builder>... tags) Tags assigned to the activation.Tags assigned to the activation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-