Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateActivationRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateActivationRequest.Builder,CreateActivationRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateActivationRequest.Builder |
NOOP
Modifier and Type | Method | 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) |
|
Date |
expirationDate() |
The date by which this activation request should expire.
|
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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 Date 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>
public static CreateActivationRequest.Builder builder()
public static Class<? extends CreateActivationRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.