@Generated(value="software.amazon.awssdk:codegen") public class CreateActivationRequest extends SSMRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateActivationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateActivationRequest.Builder |
builder() |
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.
|
String |
description()
A userdefined description of the resource that you want to register with Amazon EC2.
|
boolean |
equals(Object obj) |
Instant |
expirationDate()
The date by which this activation request should expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRole()
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
|
Integer |
registrationLimit()
Specify the maximum number of managed instances you want to register.
|
static Class<? extends CreateActivationRequest.Builder> |
serializableBuilderClass() |
CreateActivationRequest.Builder |
toBuilder() |
String |
toString() |
requestOverrideConfigpublic String description()
A userdefined description of the resource that you want to register with Amazon EC2.
public 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.
public String iamRole()
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
public Integer registrationLimit()
Specify the maximum number of managed instances you want to register. The default value is 1 instance.
public Instant expirationDate()
The date by which this activation request should expire. The default value is 24 hours.
public CreateActivationRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>toBuilder in class SSMRequestpublic static CreateActivationRequest.Builder builder()
public static Class<? extends CreateActivationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2017. All rights reserved.