Interface GetEnvironmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEnvironmentResponse.Builder,
,GetEnvironmentResponse> M2Response.Builder
,SdkBuilder<GetEnvironmentResponse.Builder,
,GetEnvironmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEnvironmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionactualCapacity
(Integer actualCapacity) The number of instances included in the runtime environment.creationTime
(Instant creationTime) The timestamp when the runtime environment was created.description
(String description) The description of the runtime environment.engineType
(String engineType) The target platform for the runtime environment.engineType
(EngineType engineType) The target platform for the runtime environment.engineVersion
(String engineVersion) The version of the runtime engine.environmentArn
(String environmentArn) The Amazon Resource Name (ARN) of the runtime environment.environmentId
(String environmentId) The unique identifier of the runtime environment.default GetEnvironmentResponse.Builder
highAvailabilityConfig
(Consumer<HighAvailabilityConfig.Builder> highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment.highAvailabilityConfig
(HighAvailabilityConfig highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment.instanceType
(String instanceType) The type of instance underlying the runtime environment.The identifier of a customer managed key.loadBalancerArn
(String loadBalancerArn) The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.The name of the runtime environment.default GetEnvironmentResponse.Builder
pendingMaintenance
(Consumer<PendingMaintenance.Builder> pendingMaintenance) Indicates the pending maintenance scheduled on this environment.pendingMaintenance
(PendingMaintenance pendingMaintenance) Indicates the pending maintenance scheduled on this environment.preferredMaintenanceWindow
(String preferredMaintenanceWindow) The maintenance window for the runtime environment.publiclyAccessible
(Boolean publiclyAccessible) Whether applications running in this runtime environment are publicly accessible.securityGroupIds
(String... securityGroupIds) The unique identifiers of the security groups assigned to this runtime environment.securityGroupIds
(Collection<String> securityGroupIds) The unique identifiers of the security groups assigned to this runtime environment.The status of the runtime environment.status
(EnvironmentLifecycle status) The status of the runtime environment.statusReason
(String statusReason) The reason for the reported status.storageConfigurations
(Collection<StorageConfiguration> storageConfigurations) The storage configurations defined for the runtime environment.storageConfigurations
(Consumer<StorageConfiguration.Builder>... storageConfigurations) The storage configurations defined for the runtime environment.storageConfigurations
(StorageConfiguration... storageConfigurations) The storage configurations defined for the runtime environment.The unique identifiers of the subnets assigned to this runtime environment.subnetIds
(Collection<String> subnetIds) The unique identifiers of the subnets assigned to this runtime environment.The tags defined for this runtime environment.The unique identifier for the VPC used with this runtime environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The timestamp when the runtime environment was created.
- Parameters:
creationTime
- The timestamp when the runtime environment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the runtime environment.
- Parameters:
description
- The description of the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineType
The target platform for the runtime environment.
- Parameters:
engineType
- The target platform for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineType
The target platform for the runtime environment.
- Parameters:
engineType
- The target platform for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineVersion
The version of the runtime engine.
- Parameters:
engineVersion
- The version of the runtime engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentArn
The Amazon Resource Name (ARN) of the runtime environment.
- Parameters:
environmentArn
- The Amazon Resource Name (ARN) of the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The unique identifier of the runtime environment.
- Parameters:
environmentId
- The unique identifier of the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
highAvailabilityConfig
GetEnvironmentResponse.Builder highAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment.
- Parameters:
highAvailabilityConfig
- The desired capacity of the high availability configuration for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
highAvailabilityConfig
default GetEnvironmentResponse.Builder highAvailabilityConfig(Consumer<HighAvailabilityConfig.Builder> highAvailabilityConfig) The desired capacity of the high availability configuration for the runtime environment.
This is a convenience method that creates an instance of theHighAvailabilityConfig.Builder
avoiding the need to create one manually viaHighAvailabilityConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohighAvailabilityConfig(HighAvailabilityConfig)
.- Parameters:
highAvailabilityConfig
- a consumer that will call methods onHighAvailabilityConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The type of instance underlying the runtime environment.
- Parameters:
instanceType
- The type of instance underlying the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The identifier of a customer managed key.
- Parameters:
kmsKeyId
- The identifier of a customer managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerArn
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
- Parameters:
loadBalancerArn
- The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the runtime environment. Must be unique within the account.
- Parameters:
name
- The name of the runtime environment. Must be unique within the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingMaintenance
Indicates the pending maintenance scheduled on this environment.
- Parameters:
pendingMaintenance
- Indicates the pending maintenance scheduled on this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingMaintenance
default GetEnvironmentResponse.Builder pendingMaintenance(Consumer<PendingMaintenance.Builder> pendingMaintenance) Indicates the pending maintenance scheduled on this environment.
This is a convenience method that creates an instance of thePendingMaintenance.Builder
avoiding the need to create one manually viaPendingMaintenance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingMaintenance(PendingMaintenance)
.- Parameters:
pendingMaintenance
- a consumer that will call methods onPendingMaintenance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publiclyAccessible
Whether applications running in this runtime environment are publicly accessible.
- Parameters:
publiclyAccessible
- Whether applications running in this runtime environment are publicly accessible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The unique identifiers of the security groups assigned to this runtime environment.
- Parameters:
securityGroupIds
- The unique identifiers of the security groups assigned to this runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The unique identifiers of the security groups assigned to this runtime environment.
- Parameters:
securityGroupIds
- The unique identifiers of the security groups assigned to this runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the runtime environment.
- Parameters:
status
- The status of the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the runtime environment.
- Parameters:
status
- The status of the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason for the reported status.
- Parameters:
statusReason
- The reason for the reported status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfigurations
GetEnvironmentResponse.Builder storageConfigurations(Collection<StorageConfiguration> storageConfigurations) The storage configurations defined for the runtime environment.
- Parameters:
storageConfigurations
- The storage configurations defined for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfigurations
The storage configurations defined for the runtime environment.
- Parameters:
storageConfigurations
- The storage configurations defined for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfigurations
GetEnvironmentResponse.Builder storageConfigurations(Consumer<StorageConfiguration.Builder>... storageConfigurations) The storage configurations defined for the runtime environment.
This is a convenience method that creates an instance of theStorageConfiguration.Builder
avoiding the need to create one manually viaStorageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageConfigurations(List<StorageConfiguration>)
.- Parameters:
storageConfigurations
- a consumer that will call methods onStorageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetIds
The unique identifiers of the subnets assigned to this runtime environment.
- Parameters:
subnetIds
- The unique identifiers of the subnets assigned to this runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The unique identifiers of the subnets assigned to this runtime environment.
- Parameters:
subnetIds
- The unique identifiers of the subnets assigned to this runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags defined for this runtime environment.
- Parameters:
tags
- The tags defined for this runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The unique identifier for the VPC used with this runtime environment.
- Parameters:
vpcId
- The unique identifier for the VPC used with this runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-