@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentEC2Request extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentEC2Request() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentEC2Request |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getAutomaticStopTimeMinutes()
The number of minutes until the running instance is shut down after the environment has last been used.
|
String |
getClientRequestToken()
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
|
String |
getDescription()
The description of the environment to create.
|
String |
getInstanceType()
The type of instance to connect to the environment (for example,
t2.micro ). |
String |
getName()
The name of the environment to create.
|
String |
getOwnerArn()
The Amazon Resource Name (ARN) of the environment owner.
|
String |
getSubnetId()
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
|
int |
hashCode() |
void |
setAutomaticStopTimeMinutes(Integer automaticStopTimeMinutes)
The number of minutes until the running instance is shut down after the environment has last been used.
|
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
|
void |
setDescription(String description)
The description of the environment to create.
|
void |
setInstanceType(String instanceType)
The type of instance to connect to the environment (for example,
t2.micro ). |
void |
setName(String name)
The name of the environment to create.
|
void |
setOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
|
void |
setSubnetId(String subnetId)
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentEC2Request |
withAutomaticStopTimeMinutes(Integer automaticStopTimeMinutes)
The number of minutes until the running instance is shut down after the environment has last been used.
|
CreateEnvironmentEC2Request |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
|
CreateEnvironmentEC2Request |
withDescription(String description)
The description of the environment to create.
|
CreateEnvironmentEC2Request |
withInstanceType(String instanceType)
The type of instance to connect to the environment (for example,
t2.micro ). |
CreateEnvironmentEC2Request |
withName(String name)
The name of the environment to create.
|
CreateEnvironmentEC2Request |
withOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
|
CreateEnvironmentEC2Request |
withSubnetId(String subnetId)
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
|
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 setName(String name)
The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
name
- The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
public String getName()
The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
This name is visible to other AWS IAM users in the same AWS account.
public CreateEnvironmentEC2Request withName(String name)
The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
name
- The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
public void setDescription(String description)
The description of the environment to create.
description
- The description of the environment to create.public String getDescription()
The description of the environment to create.
public CreateEnvironmentEC2Request withDescription(String description)
The description of the environment to create.
description
- The description of the environment to create.public void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
clientRequestToken
- A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one
time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
public String getClientRequestToken()
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
For more information, see Client Tokens in the Amazon EC2 API Reference.
public CreateEnvironmentEC2Request withClientRequestToken(String clientRequestToken)
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
clientRequestToken
- A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one
time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
public void setInstanceType(String instanceType)
The type of instance to connect to the environment (for example, t2.micro
).
instanceType
- The type of instance to connect to the environment (for example, t2.micro
).public String getInstanceType()
The type of instance to connect to the environment (for example, t2.micro
).
t2.micro
).public CreateEnvironmentEC2Request withInstanceType(String instanceType)
The type of instance to connect to the environment (for example, t2.micro
).
instanceType
- The type of instance to connect to the environment (for example, t2.micro
).public void setSubnetId(String subnetId)
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
subnetId
- The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.public String getSubnetId()
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
public CreateEnvironmentEC2Request withSubnetId(String subnetId)
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
subnetId
- The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.public void setAutomaticStopTimeMinutes(Integer automaticStopTimeMinutes)
The number of minutes until the running instance is shut down after the environment has last been used.
automaticStopTimeMinutes
- The number of minutes until the running instance is shut down after the environment has last been used.public Integer getAutomaticStopTimeMinutes()
The number of minutes until the running instance is shut down after the environment has last been used.
public CreateEnvironmentEC2Request withAutomaticStopTimeMinutes(Integer automaticStopTimeMinutes)
The number of minutes until the running instance is shut down after the environment has last been used.
automaticStopTimeMinutes
- The number of minutes until the running instance is shut down after the environment has last been used.public void setOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal. If this value is not specified, the ARN defaults to this environment's creator.
ownerArn
- The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal.
If this value is not specified, the ARN defaults to this environment's creator.public String getOwnerArn()
The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal. If this value is not specified, the ARN defaults to this environment's creator.
public CreateEnvironmentEC2Request withOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal. If this value is not specified, the ARN defaults to this environment's creator.
ownerArn
- The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal.
If this value is not specified, the ARN defaults to this environment's creator.public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentEC2Request clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.