@Generated(value="software.amazon.awssdk:codegen") public final class CreateEnvironmentEc2Request extends Cloud9Request implements ToCopyableBuilder<CreateEnvironmentEc2Request.Builder,CreateEnvironmentEc2Request>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateEnvironmentEc2Request.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
automaticStopTimeMinutes()
The number of minutes until the running instance is shut down after the environment has last been used.
|
static CreateEnvironmentEc2Request.Builder |
builder() |
String |
clientRequestToken()
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
|
String |
description()
The description of the environment to create.
|
boolean |
equals(Object obj) |
<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 |
instanceType()
The type of instance to connect to the environment (for example,
t2.micro ). |
String |
name()
The name of the environment to create.
|
String |
ownerArn()
The Amazon Resource Name (ARN) of the environment owner.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEnvironmentEc2Request.Builder> |
serializableBuilderClass() |
String |
subnetId()
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
|
CreateEnvironmentEc2Request.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 name()
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 String description()
The description of the environment to create.
public 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.
For more information, see Client Tokens in the Amazon EC2 API Reference.
public String instanceType()
The type of instance to connect to the environment (for example, t2.micro
).
t2.micro
).public String subnetId()
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
public Integer automaticStopTimeMinutes()
The number of minutes until the running instance is shut down after the environment has last been used.
public 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.
public CreateEnvironmentEc2Request.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateEnvironmentEc2Request.Builder,CreateEnvironmentEc2Request>
toBuilder
in class Cloud9Request
public static CreateEnvironmentEc2Request.Builder builder()
public static Class<? extends CreateEnvironmentEc2Request.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.