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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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 Detail
-
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
Activation.Builder tags(Collection<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
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
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-