@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 runtime environment.
|
String |
getEngineType()
The engine type for the runtime environment.
|
String |
getEngineVersion()
The version of the engine type for the runtime environment.
|
HighAvailabilityConfig |
getHighAvailabilityConfig()
The details of a high availability configuration for this runtime environment.
|
String |
getInstanceType()
The type of instance for the runtime environment.
|
String |
getKmsKeyId()
The identifier of a customer managed key.
|
String |
getName()
The name of the runtime environment.
|
String |
getPreferredMaintenanceWindow()
Configures the maintenance window that you want for the runtime environment.
|
Boolean |
getPubliclyAccessible()
Specifies whether the runtime environment is publicly accessible.
|
List<String> |
getSecurityGroupIds()
The list of security groups for the VPC associated with this runtime environment.
|
List<StorageConfiguration> |
getStorageConfigurations()
Optional.
|
List<String> |
getSubnetIds()
The list of subnets associated with the VPC for this runtime environment.
|
Map<String,String> |
getTags()
The tags for the runtime environment.
|
int |
hashCode() |
Boolean |
isPubliclyAccessible()
Specifies whether the runtime 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 runtime environment.
|
void |
setEngineType(String engineType)
The engine type for the runtime environment.
|
void |
setEngineVersion(String engineVersion)
The version of the engine type for the runtime 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 runtime environment.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
void |
setName(String name)
The name of the runtime environment.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the runtime environment is publicly accessible.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
|
void |
setStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional.
|
void |
setSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this runtime environment.
|
void |
setTags(Map<String,String> tags)
The tags for the runtime 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 runtime environment.
|
CreateEnvironmentRequest |
withEngineType(EngineType engineType)
The engine type for the runtime environment.
|
CreateEnvironmentRequest |
withEngineType(String engineType)
The engine type for the runtime environment.
|
CreateEnvironmentRequest |
withEngineVersion(String engineVersion)
The version of the engine type for the runtime 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 runtime environment.
|
CreateEnvironmentRequest |
withKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
CreateEnvironmentRequest |
withName(String name)
The name of the runtime environment.
|
CreateEnvironmentRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment.
|
CreateEnvironmentRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the runtime environment is publicly accessible.
|
CreateEnvironmentRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
|
CreateEnvironmentRequest |
withSecurityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this runtime 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 runtime environment.
|
CreateEnvironmentRequest |
withSubnetIds(String... subnetIds)
The list of subnets associated with the VPC for this runtime environment.
|
CreateEnvironmentRequest |
withTags(Map<String,String> tags)
The tags for the runtime 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 runtime environment.
description
- The description of the runtime environment.public String getDescription()
The description of the runtime environment.
public CreateEnvironmentRequest withDescription(String description)
The description of the runtime environment.
description
- The description of the runtime environment.public void setEngineType(String engineType)
The engine type for the runtime environment.
engineType
- The engine type for the runtime environment.EngineType
public String getEngineType()
The engine type for the runtime environment.
EngineType
public CreateEnvironmentRequest withEngineType(String engineType)
The engine type for the runtime environment.
engineType
- The engine type for the runtime environment.EngineType
public CreateEnvironmentRequest withEngineType(EngineType engineType)
The engine type for the runtime environment.
engineType
- The engine type for the runtime environment.EngineType
public void setEngineVersion(String engineVersion)
The version of the engine type for the runtime environment.
engineVersion
- The version of the engine type for the runtime environment.public String getEngineVersion()
The version of the engine type for the runtime environment.
public CreateEnvironmentRequest withEngineVersion(String engineVersion)
The version of the engine type for the runtime environment.
engineVersion
- The version of the engine type for the runtime 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 runtime environment.
instanceType
- The type of instance for the runtime environment.public String getInstanceType()
The type of instance for the runtime environment.
public CreateEnvironmentRequest withInstanceType(String instanceType)
The type of instance for the runtime environment.
instanceType
- The type of instance for the runtime environment.public void setKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
kmsKeyId
- The identifier of a customer managed key.public String getKmsKeyId()
The identifier of a customer managed key.
public CreateEnvironmentRequest withKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
kmsKeyId
- The identifier of a customer managed key.public void setName(String name)
The name of the runtime environment. Must be unique within the account.
name
- The name of the runtime environment. Must be unique within the account.public String getName()
The name of the runtime environment. Must be unique within the account.
public CreateEnvironmentRequest withName(String name)
The name of the runtime environment. Must be unique within the account.
name
- The name of the runtime environment. Must be unique within the account.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the
format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two examples are valid
maintenance windows: sun:23:45-mon:00:15
or sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow
- Configures the maintenance window that you want for the runtime environment. The maintenance window must
have the format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two
examples are valid maintenance windows: sun:23:45-mon:00:15
or
sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
public String getPreferredMaintenanceWindow()
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the
format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two examples are valid
maintenance windows: sun:23:45-mon:00:15
or sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two
examples are valid maintenance windows: sun:23:45-mon:00:15
or
sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
public CreateEnvironmentRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the
format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two examples are valid
maintenance windows: sun:23:45-mon:00:15
or sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow
- Configures the maintenance window that you want for the runtime environment. The maintenance window must
have the format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two
examples are valid maintenance windows: sun:23:45-mon:00:15
or
sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
public void setPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the runtime environment is publicly accessible.
publiclyAccessible
- Specifies whether the runtime environment is publicly accessible.public Boolean getPubliclyAccessible()
Specifies whether the runtime environment is publicly accessible.
public CreateEnvironmentRequest withPubliclyAccessible(Boolean publiclyAccessible)
Specifies whether the runtime environment is publicly accessible.
publiclyAccessible
- Specifies whether the runtime environment is publicly accessible.public Boolean isPubliclyAccessible()
Specifies whether the runtime environment is publicly accessible.
public List<String> getSecurityGroupIds()
The list of security groups for the VPC associated with this runtime environment.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
securityGroupIds
- The list of security groups for the VPC associated with this runtime environment.public CreateEnvironmentRequest withSecurityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this runtime 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 runtime environment.public CreateEnvironmentRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
securityGroupIds
- The list of security groups for the VPC associated with this runtime environment.public List<StorageConfiguration> getStorageConfigurations()
Optional. The storage configurations for this runtime environment.
public void setStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional. The storage configurations for this runtime environment.
storageConfigurations
- Optional. The storage configurations for this runtime environment.public CreateEnvironmentRequest withStorageConfigurations(StorageConfiguration... storageConfigurations)
Optional. The storage configurations for this runtime 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 runtime environment.public CreateEnvironmentRequest withStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional. The storage configurations for this runtime environment.
storageConfigurations
- Optional. The storage configurations for this runtime environment.public List<String> getSubnetIds()
The list of subnets associated with the VPC for this runtime environment.
public void setSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this runtime environment.
subnetIds
- The list of subnets associated with the VPC for this runtime environment.public CreateEnvironmentRequest withSubnetIds(String... subnetIds)
The list of subnets associated with the VPC for this runtime 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 runtime environment.public CreateEnvironmentRequest withSubnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this runtime environment.
subnetIds
- The list of subnets associated with the VPC for this runtime environment.public Map<String,String> getTags()
The tags for the runtime environment.
public void setTags(Map<String,String> tags)
The tags for the runtime environment.
tags
- The tags for the runtime environment.public CreateEnvironmentRequest withTags(Map<String,String> tags)
The tags for the runtime environment.
tags
- The tags for the runtime 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()