public static interface CreateActivationRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
Modifier and Type | Method and Description |
---|---|
CreateActivationRequest.Builder |
defaultInstanceName(String defaultInstanceName)
The name of the registered, managed instance as it will appear in the Amazon EC2 console or when you use the
AWS command line tools to list EC2 resources.
|
CreateActivationRequest.Builder |
description(String description)
A user-defined description of the resource that you want to register with Amazon EC2.
|
CreateActivationRequest.Builder |
expirationDate(Instant expirationDate)
The date by which this activation request should expire.
|
CreateActivationRequest.Builder |
iamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
|
CreateActivationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateActivationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateActivationRequest.Builder |
registrationLimit(Integer registrationLimit)
Specify the maximum number of managed instances you want to register.
|
build
overrideConfiguration
copy
applyMutation, build
CreateActivationRequest.Builder description(String description)
A user-defined description of the resource that you want to register with Amazon EC2.
Do not enter personally identifiable information in this field.
description
- A user-defined description of the resource that you want to register with Amazon EC2. Do not enter personally identifiable information in this field.
CreateActivationRequest.Builder defaultInstanceName(String defaultInstanceName)
The name of the registered, managed instance as it will appear in the Amazon EC2 console or when you use the AWS command line tools to list EC2 resources.
Do not enter personally identifiable information in this field.
defaultInstanceName
- The name of the registered, managed instance as it will appear in the Amazon EC2 console or when you
use the AWS command line tools to list EC2 resources. Do not enter personally identifiable information in this field.
CreateActivationRequest.Builder iamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
iamRole
- The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.CreateActivationRequest.Builder registrationLimit(Integer registrationLimit)
Specify the maximum number of managed instances you want to register. The default value is 1 instance.
registrationLimit
- Specify the maximum number of managed instances you want to register. The default value is 1 instance.CreateActivationRequest.Builder expirationDate(Instant expirationDate)
The date by which this activation request should expire. The default value is 24 hours.
expirationDate
- The date by which this activation request should expire. The default value is 24 hours.CreateActivationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateActivationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.