@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateActivationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateActivationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateActivationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDefaultInstanceName()
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 |
getDescription()
A userdefined description of the resource that you want to register with Amazon EC2.
|
Date |
getExpirationDate()
The date by which this activation request should expire.
|
String |
getIamRole()
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
|
Integer |
getRegistrationLimit()
Specify the maximum number of managed instances you want to register.
|
int |
hashCode() |
void |
setDefaultInstanceName(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.
|
void |
setDescription(String description)
A userdefined description of the resource that you want to register with Amazon EC2.
|
void |
setExpirationDate(Date expirationDate)
The date by which this activation request should expire.
|
void |
setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
|
void |
setRegistrationLimit(Integer registrationLimit)
Specify the maximum number of managed instances you want to register.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateActivationRequest |
withDefaultInstanceName(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 |
withDescription(String description)
A userdefined description of the resource that you want to register with Amazon EC2.
|
CreateActivationRequest |
withExpirationDate(Date expirationDate)
The date by which this activation request should expire.
|
CreateActivationRequest |
withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
|
CreateActivationRequest |
withRegistrationLimit(Integer registrationLimit)
Specify the maximum number of managed instances you want to register.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDescription(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.public String getDescription()
A userdefined description of the resource that you want to register with Amazon EC2.
public CreateActivationRequest withDescription(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.public void setDefaultInstanceName(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.public String getDefaultInstanceName()
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 CreateActivationRequest withDefaultInstanceName(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.public void setIamRole(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.public String getIamRole()
The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance.
public CreateActivationRequest withIamRole(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.public void setRegistrationLimit(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.public Integer getRegistrationLimit()
Specify the maximum number of managed instances you want to register. The default value is 1 instance.
public CreateActivationRequest withRegistrationLimit(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.public void setExpirationDate(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.public Date getExpirationDate()
The date by which this activation request should expire. The default value is 24 hours.
public CreateActivationRequest withExpirationDate(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.public String toString()
toString
in class Object
Object.toString()
public CreateActivationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.