@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEnvironmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEnvironmentResult() |
Modifier and Type | Method and Description |
---|---|
GetEnvironmentResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetEnvironmentResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetEnvironmentResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getActualCapacity()
The number of instances included in the runtime environment.
|
Date |
getCreationTime()
The timestamp when the runtime environment was created.
|
String |
getDescription()
The description of the runtime environment.
|
String |
getEngineType()
The target platform for the runtime environment.
|
String |
getEngineVersion()
The version of the runtime engine.
|
String |
getEnvironmentArn()
The Amazon Resource Name (ARN) of the runtime environment.
|
String |
getEnvironmentId()
The unique identifier of the runtime environment.
|
HighAvailabilityConfig |
getHighAvailabilityConfig()
The desired capacity of the high availability configuration for the runtime environment.
|
String |
getInstanceType()
The type of instance underlying the runtime environment.
|
String |
getKmsKeyId()
The identifier of a customer managed key.
|
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
|
String |
getName()
The name of the runtime environment.
|
PendingMaintenance |
getPendingMaintenance()
Indicates the pending maintenance scheduled on this environment.
|
String |
getPreferredMaintenanceWindow()
The maintenance window for the runtime environment.
|
Boolean |
getPubliclyAccessible()
Whether applications running in this runtime environment are publicly accessible.
|
List<String> |
getSecurityGroupIds()
The unique identifiers of the security groups assigned to this runtime environment.
|
String |
getStatus()
The status of the runtime environment.
|
String |
getStatusReason()
The reason for the reported status.
|
List<StorageConfiguration> |
getStorageConfigurations()
The storage configurations defined for the runtime environment.
|
List<String> |
getSubnetIds()
The unique identifiers of the subnets assigned to this runtime environment.
|
Map<String,String> |
getTags()
The tags defined for this runtime environment.
|
String |
getVpcId()
The unique identifier for the VPC used with this runtime environment.
|
int |
hashCode() |
Boolean |
isPubliclyAccessible()
Whether applications running in this runtime environment are publicly accessible.
|
void |
setActualCapacity(Integer actualCapacity)
The number of instances included in the runtime environment.
|
void |
setCreationTime(Date creationTime)
The timestamp when the runtime environment was created.
|
void |
setDescription(String description)
The description of the runtime environment.
|
void |
setEngineType(String engineType)
The target platform for the runtime environment.
|
void |
setEngineVersion(String engineVersion)
The version of the runtime engine.
|
void |
setEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the runtime environment.
|
void |
setEnvironmentId(String environmentId)
The unique identifier of the runtime environment.
|
void |
setHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The desired capacity of the high availability configuration for the runtime environment.
|
void |
setInstanceType(String instanceType)
The type of instance underlying the runtime environment.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
|
void |
setName(String name)
The name of the runtime environment.
|
void |
setPendingMaintenance(PendingMaintenance pendingMaintenance)
Indicates the pending maintenance scheduled on this environment.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The maintenance window for the runtime environment.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Whether applications running in this runtime environment are publicly accessible.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups assigned to this runtime environment.
|
void |
setStatus(String status)
The status of the runtime environment.
|
void |
setStatusReason(String statusReason)
The reason for the reported status.
|
void |
setStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
The storage configurations defined for the runtime environment.
|
void |
setSubnetIds(Collection<String> subnetIds)
The unique identifiers of the subnets assigned to this runtime environment.
|
void |
setTags(Map<String,String> tags)
The tags defined for this runtime environment.
|
void |
setVpcId(String vpcId)
The unique identifier for the VPC used with this runtime environment.
|
String |
toString()
Returns a string representation of this object.
|
GetEnvironmentResult |
withActualCapacity(Integer actualCapacity)
The number of instances included in the runtime environment.
|
GetEnvironmentResult |
withCreationTime(Date creationTime)
The timestamp when the runtime environment was created.
|
GetEnvironmentResult |
withDescription(String description)
The description of the runtime environment.
|
GetEnvironmentResult |
withEngineType(EngineType engineType)
The target platform for the runtime environment.
|
GetEnvironmentResult |
withEngineType(String engineType)
The target platform for the runtime environment.
|
GetEnvironmentResult |
withEngineVersion(String engineVersion)
The version of the runtime engine.
|
GetEnvironmentResult |
withEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the runtime environment.
|
GetEnvironmentResult |
withEnvironmentId(String environmentId)
The unique identifier of the runtime environment.
|
GetEnvironmentResult |
withHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The desired capacity of the high availability configuration for the runtime environment.
|
GetEnvironmentResult |
withInstanceType(String instanceType)
The type of instance underlying the runtime environment.
|
GetEnvironmentResult |
withKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
GetEnvironmentResult |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
|
GetEnvironmentResult |
withName(String name)
The name of the runtime environment.
|
GetEnvironmentResult |
withPendingMaintenance(PendingMaintenance pendingMaintenance)
Indicates the pending maintenance scheduled on this environment.
|
GetEnvironmentResult |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The maintenance window for the runtime environment.
|
GetEnvironmentResult |
withPubliclyAccessible(Boolean publiclyAccessible)
Whether applications running in this runtime environment are publicly accessible.
|
GetEnvironmentResult |
withSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups assigned to this runtime environment.
|
GetEnvironmentResult |
withSecurityGroupIds(String... securityGroupIds)
The unique identifiers of the security groups assigned to this runtime environment.
|
GetEnvironmentResult |
withStatus(EnvironmentLifecycle status)
The status of the runtime environment.
|
GetEnvironmentResult |
withStatus(String status)
The status of the runtime environment.
|
GetEnvironmentResult |
withStatusReason(String statusReason)
The reason for the reported status.
|
GetEnvironmentResult |
withStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
The storage configurations defined for the runtime environment.
|
GetEnvironmentResult |
withStorageConfigurations(StorageConfiguration... storageConfigurations)
The storage configurations defined for the runtime environment.
|
GetEnvironmentResult |
withSubnetIds(Collection<String> subnetIds)
The unique identifiers of the subnets assigned to this runtime environment.
|
GetEnvironmentResult |
withSubnetIds(String... subnetIds)
The unique identifiers of the subnets assigned to this runtime environment.
|
GetEnvironmentResult |
withTags(Map<String,String> tags)
The tags defined for this runtime environment.
|
GetEnvironmentResult |
withVpcId(String vpcId)
The unique identifier for the VPC used with this runtime environment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setActualCapacity(Integer actualCapacity)
The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
actualCapacity
- The number of instances included in the runtime environment. A standalone runtime environment has a
maximum of one instance. Currently, a high availability runtime environment has a maximum of two
instances.public Integer getActualCapacity()
The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
public GetEnvironmentResult withActualCapacity(Integer actualCapacity)
The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
actualCapacity
- The number of instances included in the runtime environment. A standalone runtime environment has a
maximum of one instance. Currently, a high availability runtime environment has a maximum of two
instances.public void setCreationTime(Date creationTime)
The timestamp when the runtime environment was created.
creationTime
- The timestamp when the runtime environment was created.public Date getCreationTime()
The timestamp when the runtime environment was created.
public GetEnvironmentResult withCreationTime(Date creationTime)
The timestamp when the runtime environment was created.
creationTime
- The timestamp when the runtime environment was created.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 GetEnvironmentResult withDescription(String description)
The description of the runtime environment.
description
- The description of the runtime environment.public void setEngineType(String engineType)
The target platform for the runtime environment.
engineType
- The target platform for the runtime environment.EngineType
public String getEngineType()
The target platform for the runtime environment.
EngineType
public GetEnvironmentResult withEngineType(String engineType)
The target platform for the runtime environment.
engineType
- The target platform for the runtime environment.EngineType
public GetEnvironmentResult withEngineType(EngineType engineType)
The target platform for the runtime environment.
engineType
- The target platform for the runtime environment.EngineType
public void setEngineVersion(String engineVersion)
The version of the runtime engine.
engineVersion
- The version of the runtime engine.public String getEngineVersion()
The version of the runtime engine.
public GetEnvironmentResult withEngineVersion(String engineVersion)
The version of the runtime engine.
engineVersion
- The version of the runtime engine.public void setEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the runtime environment.
environmentArn
- The Amazon Resource Name (ARN) of the runtime environment.public String getEnvironmentArn()
The Amazon Resource Name (ARN) of the runtime environment.
public GetEnvironmentResult withEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the runtime environment.
environmentArn
- The Amazon Resource Name (ARN) of the runtime environment.public void setEnvironmentId(String environmentId)
The unique identifier of the runtime environment.
environmentId
- The unique identifier of the runtime environment.public String getEnvironmentId()
The unique identifier of the runtime environment.
public GetEnvironmentResult withEnvironmentId(String environmentId)
The unique identifier of the runtime environment.
environmentId
- The unique identifier of the runtime environment.public void setHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The desired capacity of the high availability configuration for the runtime environment.
highAvailabilityConfig
- The desired capacity of the high availability configuration for the runtime environment.public HighAvailabilityConfig getHighAvailabilityConfig()
The desired capacity of the high availability configuration for the runtime environment.
public GetEnvironmentResult withHighAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The desired capacity of the high availability configuration for the runtime environment.
highAvailabilityConfig
- The desired capacity of the high availability configuration for the runtime environment.public void setInstanceType(String instanceType)
The type of instance underlying the runtime environment.
instanceType
- The type of instance underlying the runtime environment.public String getInstanceType()
The type of instance underlying the runtime environment.
public GetEnvironmentResult withInstanceType(String instanceType)
The type of instance underlying the runtime environment.
instanceType
- The type of instance underlying 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 GetEnvironmentResult withKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
kmsKeyId
- The identifier of a customer managed key.public void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
loadBalancerArn
- The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
public GetEnvironmentResult withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
loadBalancerArn
- The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.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 GetEnvironmentResult 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 setPendingMaintenance(PendingMaintenance pendingMaintenance)
Indicates the pending maintenance scheduled on this environment.
pendingMaintenance
- Indicates the pending maintenance scheduled on this environment.public PendingMaintenance getPendingMaintenance()
Indicates the pending maintenance scheduled on this environment.
public GetEnvironmentResult withPendingMaintenance(PendingMaintenance pendingMaintenance)
Indicates the pending maintenance scheduled on this environment.
pendingMaintenance
- Indicates the pending maintenance scheduled on this environment.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
preferredMaintenanceWindow
- The maintenance window for the runtime environment. If you don't provide a value for the maintenance
window, the service assigns a random value.public String getPreferredMaintenanceWindow()
The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
public GetEnvironmentResult withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
preferredMaintenanceWindow
- The maintenance window for the runtime environment. If you don't provide a value for the maintenance
window, the service assigns a random value.public void setPubliclyAccessible(Boolean publiclyAccessible)
Whether applications running in this runtime environment are publicly accessible.
publiclyAccessible
- Whether applications running in this runtime environment are publicly accessible.public Boolean getPubliclyAccessible()
Whether applications running in this runtime environment are publicly accessible.
public GetEnvironmentResult withPubliclyAccessible(Boolean publiclyAccessible)
Whether applications running in this runtime environment are publicly accessible.
publiclyAccessible
- Whether applications running in this runtime environment are publicly accessible.public Boolean isPubliclyAccessible()
Whether applications running in this runtime environment are publicly accessible.
public List<String> getSecurityGroupIds()
The unique identifiers of the security groups assigned to this runtime environment.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups assigned to this runtime environment.
securityGroupIds
- The unique identifiers of the security groups assigned to this runtime environment.public GetEnvironmentResult withSecurityGroupIds(String... securityGroupIds)
The unique identifiers of the security groups assigned to 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 unique identifiers of the security groups assigned to this runtime environment.public GetEnvironmentResult withSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups assigned to this runtime environment.
securityGroupIds
- The unique identifiers of the security groups assigned to this runtime environment.public void setStatus(String status)
The status of the runtime environment.
status
- The status of the runtime environment.EnvironmentLifecycle
public String getStatus()
The status of the runtime environment.
EnvironmentLifecycle
public GetEnvironmentResult withStatus(String status)
The status of the runtime environment.
status
- The status of the runtime environment.EnvironmentLifecycle
public GetEnvironmentResult withStatus(EnvironmentLifecycle status)
The status of the runtime environment.
status
- The status of the runtime environment.EnvironmentLifecycle
public void setStatusReason(String statusReason)
The reason for the reported status.
statusReason
- The reason for the reported status.public String getStatusReason()
The reason for the reported status.
public GetEnvironmentResult withStatusReason(String statusReason)
The reason for the reported status.
statusReason
- The reason for the reported status.public List<StorageConfiguration> getStorageConfigurations()
The storage configurations defined for the runtime environment.
public void setStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
The storage configurations defined for the runtime environment.
storageConfigurations
- The storage configurations defined for the runtime environment.public GetEnvironmentResult withStorageConfigurations(StorageConfiguration... storageConfigurations)
The storage configurations defined for the 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
- The storage configurations defined for the runtime environment.public GetEnvironmentResult withStorageConfigurations(Collection<StorageConfiguration> storageConfigurations)
The storage configurations defined for the runtime environment.
storageConfigurations
- The storage configurations defined for the runtime environment.public List<String> getSubnetIds()
The unique identifiers of the subnets assigned to this runtime environment.
public void setSubnetIds(Collection<String> subnetIds)
The unique identifiers of the subnets assigned to this runtime environment.
subnetIds
- The unique identifiers of the subnets assigned to this runtime environment.public GetEnvironmentResult withSubnetIds(String... subnetIds)
The unique identifiers of the subnets assigned to 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 unique identifiers of the subnets assigned to this runtime environment.public GetEnvironmentResult withSubnetIds(Collection<String> subnetIds)
The unique identifiers of the subnets assigned to this runtime environment.
subnetIds
- The unique identifiers of the subnets assigned to this runtime environment.public Map<String,String> getTags()
The tags defined for this runtime environment.
public void setTags(Map<String,String> tags)
The tags defined for this runtime environment.
tags
- The tags defined for this runtime environment.public GetEnvironmentResult withTags(Map<String,String> tags)
The tags defined for this runtime environment.
tags
- The tags defined for this runtime environment.public GetEnvironmentResult addTagsEntry(String key, String value)
public GetEnvironmentResult clearTagsEntries()
public void setVpcId(String vpcId)
The unique identifier for the VPC used with this runtime environment.
vpcId
- The unique identifier for the VPC used with this runtime environment.public String getVpcId()
The unique identifier for the VPC used with this runtime environment.
public GetEnvironmentResult withVpcId(String vpcId)
The unique identifier for the VPC used with this runtime environment.
vpcId
- The unique identifier for the VPC used with this runtime environment.public String toString()
toString
in class Object
Object.toString()
public GetEnvironmentResult clone()