@Generated(value="software.amazon.awssdk:codegen") public final class CreateActivationRequest extends SsmRequest implements 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 user-defined 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)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateActivationRequest.Builder> |
serializableBuilderClass() |
CreateActivationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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.
Do not enter personally identifiable information in this field.
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.
Do not enter personally identifiable information in this field.
Do not enter personally identifiable information in this field.
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
toBuilder
in class SsmRequest
public static CreateActivationRequest.Builder builder()
public static Class<? extends CreateActivationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.