@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.
|
ConnectionType |
connectionType()
The connection type used for connecting to an Amazon EC2 environment.
|
String |
connectionTypeAsString()
The connection type used for connecting to an Amazon EC2 environment.
|
String |
description()
The description of the environment to create.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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.
|
List<Tag> |
tags()
An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
|
CreateEnvironmentEc2Request.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 boolean hasTags()
public List<Tag> tags()
An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public ConnectionType connectionType()
The connection type used for connecting to an Amazon EC2 environment.
If the service returns an enum value that is not available in the current SDK version, connectionType
will return ConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionTypeAsString().
ConnectionTypepublic String connectionTypeAsString()
The connection type used for connecting to an Amazon EC2 environment.
If the service returns an enum value that is not available in the current SDK version, connectionType
will return ConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionTypeAsString().
ConnectionTypepublic CreateEnvironmentEc2Request.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEnvironmentEc2Request.Builder,CreateEnvironmentEc2Request>toBuilder in class Cloud9Requestpublic static CreateEnvironmentEc2Request.Builder builder()
public static Class<? extends CreateEnvironmentEc2Request.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.