@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateEnvironmentRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateEnvironmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment.
|
String |
getDescription()
The description of the environment.
|
String |
getEngineType()
The engine type for the environment.
|
String |
getEngineVersion()
The version of the engine type for the environment.
|
HighAvailabilityConfig |
getHighAvailabilityConfig()
The details of a high availability configuration for this runtime environment.
|
String |
getInstanceType()
The type of instance for the environment.
|
String |
getName()
The unique identifier of the environment.
|
String |
getPreferredMaintenanceWindow()
Configures a desired maintenance window for the environment.
|
Boolean |
getPubliclyAccessible()
Specifies whether the environment is publicly accessible.
|
List<String> |
getSecurityGroupIds()
The list of security groups for the VPC associated with this environment.
|
List<StorageConfiguration> |
getStorageConfigurations()
Optional.
|
List<String> |
getSubnetIds()
The list of subnets associated with the VPC for this environment.
|
Map<String,String> |
getTags()
The tags for the environment.
|
int |
hashCode() |
Boolean |
isPubliclyAccessible()
Specifies whether the environment is publicly accessible.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment.
|
void |
setDescription(String description)
The description of the environment.
|
void |
setEngineType(String engineType)
The engine type for the environment.
|
void |
setEngineVersion(String engineVersion)
The version of the engine type for the environment.
|
void |
setHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
|
void |
setInstanceType(String instanceType)
The type of instance for the environment.
|
void |
setName(String name)
The unique identifier of the environment.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the environment is publicly accessible.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this environment.
|
void |
setStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional.
|
void |
setSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this environment.
|
void |
setTags(Map<String,String> tags)
The tags for the environment.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment.
|
CreateEnvironmentRequest |
withDescription(String description)
The description of the environment.
|
CreateEnvironmentRequest |
withEngineType(EngineType engineType)
The engine type for the environment.
|
CreateEnvironmentRequest |
withEngineType(String engineType)
The engine type for the environment.
|
CreateEnvironmentRequest |
withEngineVersion(String engineVersion)
The version of the engine type for the environment.
|
CreateEnvironmentRequest |
withHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
|
CreateEnvironmentRequest |
withInstanceType(String instanceType)
The type of instance for the environment.
|
CreateEnvironmentRequest |
withName(String name)
The unique identifier of the environment.
|
CreateEnvironmentRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment.
|
CreateEnvironmentRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the environment is publicly accessible.
|
CreateEnvironmentRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this environment.
|
CreateEnvironmentRequest |
withSecurityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this environment.
|
CreateEnvironmentRequest |
withStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional.
|
CreateEnvironmentRequest |
withStorageConfigurations(StorageConfiguration... storageConfigurations)
Optional.
|
CreateEnvironmentRequest |
withSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this environment.
|
CreateEnvironmentRequest |
withSubnetIds(String... subnetIds)
The list of subnets associated with the VPC for this environment.
|
CreateEnvironmentRequest |
withTags(Map<String,String> tags)
The tags for the environment.
|
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 setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an
environment. The service generates the clientToken when the API call is triggered. The token expires after
one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same
response. The service also handles deleting the clientToken after it expires.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
public CreateEnvironmentRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an
environment. The service generates the clientToken when the API call is triggered. The token expires after
one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same
response. The service also handles deleting the clientToken after it expires.public void setDescription(String description)
The description of the environment.
description
- The description of the environment.public String getDescription()
The description of the environment.
public CreateEnvironmentRequest withDescription(String description)
The description of the environment.
description
- The description of the environment.public void setEngineType(String engineType)
The engine type for the environment.
engineType
- The engine type for the environment.EngineType
public String getEngineType()
The engine type for the environment.
EngineType
public CreateEnvironmentRequest withEngineType(String engineType)
The engine type for the environment.
engineType
- The engine type for the environment.EngineType
public CreateEnvironmentRequest withEngineType(EngineType engineType)
The engine type for the environment.
engineType
- The engine type for the environment.EngineType
public void setEngineVersion(String engineVersion)
The version of the engine type for the environment.
engineVersion
- The version of the engine type for the environment.public String getEngineVersion()
The version of the engine type for the environment.
public CreateEnvironmentRequest withEngineVersion(String engineVersion)
The version of the engine type for the environment.
engineVersion
- The version of the engine type for the environment.public void setHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
highAvailabilityConfig
- The details of a high availability configuration for this runtime environment.public HighAvailabilityConfig getHighAvailabilityConfig()
The details of a high availability configuration for this runtime environment.
public CreateEnvironmentRequest withHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
highAvailabilityConfig
- The details of a high availability configuration for this runtime environment.public void setInstanceType(String instanceType)
The type of instance for the environment.
instanceType
- The type of instance for the environment.public String getInstanceType()
The type of instance for the environment.
public CreateEnvironmentRequest withInstanceType(String instanceType)
The type of instance for the environment.
instanceType
- The type of instance for the environment.public void setName(String name)
The unique identifier of the environment.
name
- The unique identifier of the environment.public String getName()
The unique identifier of the environment.
public CreateEnvironmentRequest withName(String name)
The unique identifier of the environment.
name
- The unique identifier of the environment.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow
- Configures a desired maintenance window for the environment. If you do not provide a value, a random
system-generated value will be assigned.public String getPreferredMaintenanceWindow()
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
public CreateEnvironmentRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow
- Configures a desired maintenance window for the environment. If you do not provide a value, a random
system-generated value will be assigned.public void setPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the environment is publicly accessible.
publiclyAccessible
- Specifies whether the environment is publicly accessible.public Boolean getPubliclyAccessible()
Specifies whether the environment is publicly accessible.
public CreateEnvironmentRequest withPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the environment is publicly accessible.
publiclyAccessible
- Specifies whether the environment is publicly accessible.public Boolean isPubliclyAccessible()
Specifies whether the environment is publicly accessible.
public List<String> getSecurityGroupIds()
The list of security groups for the VPC associated with this environment.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this environment.
securityGroupIds
- The list of security groups for the VPC associated with this environment.public CreateEnvironmentRequest withSecurityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this environment.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The list of security groups for the VPC associated with this environment.public CreateEnvironmentRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this environment.
securityGroupIds
- The list of security groups for the VPC associated with this environment.public List<StorageConfiguration> getStorageConfigurations()
Optional. The storage configurations for this environment.
public void setStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional. The storage configurations for this environment.
storageConfigurations
- Optional. The storage configurations for this environment.public CreateEnvironmentRequest withStorageConfigurations(StorageConfiguration... storageConfigurations)
Optional. The storage configurations for this environment.
NOTE: This method appends the values to the existing list (if any). Use
setStorageConfigurations(java.util.Collection)
or
withStorageConfigurations(java.util.Collection)
if you want to override the existing values.
storageConfigurations
- Optional. The storage configurations for this environment.public CreateEnvironmentRequest withStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional. The storage configurations for this environment.
storageConfigurations
- Optional. The storage configurations for this environment.public List<String> getSubnetIds()
The list of subnets associated with the VPC for this environment.
public void setSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this environment.
subnetIds
- The list of subnets associated with the VPC for this environment.public CreateEnvironmentRequest withSubnetIds(String... subnetIds)
The list of subnets associated with the VPC for this environment.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The list of subnets associated with the VPC for this environment.public CreateEnvironmentRequest withSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this environment.
subnetIds
- The list of subnets associated with the VPC for this environment.public Map<String,String> getTags()
The tags for the environment.
public void setTags(Map<String,String> tags)
The tags for the environment.
tags
- The tags for the environment.public CreateEnvironmentRequest withTags(Map<String,String> tags)
The tags for the environment.
tags
- The tags for the environment.public CreateEnvironmentRequest addTagsEntry(String key, String value)
public CreateEnvironmentRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()