CopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
, SdkBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
public static interface CreateActivationRequest.Builder extends CopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
Modifier and Type | Method | 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 userdefined description of the resource that you want to register with Amazon EC2.
|
CreateActivationRequest.Builder |
expirationDate(Date 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 |
registrationLimit(Integer registrationLimit) |
Specify the maximum number of managed instances you want to register.
|
copy
apply, build
CreateActivationRequest.Builder description(String description)
A userdefined description of the resource that you want to register with Amazon EC2.
description
- A userdefined description of the resource that you want to register with Amazon EC2.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.
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 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(Date 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.