Interface EnvironmentResourceDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EnvironmentResourceDescription.Builder,
,EnvironmentResourceDescription> SdkBuilder<EnvironmentResourceDescription.Builder,
,EnvironmentResourceDescription> SdkPojo
- Enclosing class:
EnvironmentResourceDescription
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroups
(Collection<AutoScalingGroup> autoScalingGroups) TheAutoScalingGroups
used by this environment.autoScalingGroups
(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) TheAutoScalingGroups
used by this environment.autoScalingGroups
(AutoScalingGroup... autoScalingGroups) TheAutoScalingGroups
used by this environment.environmentName
(String environmentName) The name of the environment.instances
(Collection<Instance> instances) The Amazon EC2 instances used by this environment.instances
(Consumer<Instance.Builder>... instances) The Amazon EC2 instances used by this environment.The Amazon EC2 instances used by this environment.launchConfigurations
(Collection<LaunchConfiguration> launchConfigurations) The Auto Scaling launch configurations in use by this environment.launchConfigurations
(Consumer<LaunchConfiguration.Builder>... launchConfigurations) The Auto Scaling launch configurations in use by this environment.launchConfigurations
(LaunchConfiguration... launchConfigurations) The Auto Scaling launch configurations in use by this environment.launchTemplates
(Collection<LaunchTemplate> launchTemplates) The Amazon EC2 launch templates in use by this environment.launchTemplates
(Consumer<LaunchTemplate.Builder>... launchTemplates) The Amazon EC2 launch templates in use by this environment.launchTemplates
(LaunchTemplate... launchTemplates) The Amazon EC2 launch templates in use by this environment.loadBalancers
(Collection<LoadBalancer> loadBalancers) The LoadBalancers in use by this environment.loadBalancers
(Consumer<LoadBalancer.Builder>... loadBalancers) The LoadBalancers in use by this environment.loadBalancers
(LoadBalancer... loadBalancers) The LoadBalancers in use by this environment.queues
(Collection<Queue> queues) The queues used by this environment.queues
(Consumer<Queue.Builder>... queues) The queues used by this environment.The queues used by this environment.triggers
(Collection<Trigger> triggers) TheAutoScaling
triggers in use by this environment.triggers
(Consumer<Trigger.Builder>... triggers) TheAutoScaling
triggers in use by this environment.TheAutoScaling
triggers in use by this environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
environmentName
The name of the environment.
- Parameters:
environmentName
- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
EnvironmentResourceDescription.Builder autoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups) The
AutoScalingGroups
used by this environment.- Parameters:
autoScalingGroups
- TheAutoScalingGroups
used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
The
AutoScalingGroups
used by this environment.- Parameters:
autoScalingGroups
- TheAutoScalingGroups
used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
EnvironmentResourceDescription.Builder autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) The
This is a convenience method that creates an instance of theAutoScalingGroups
used by this environment.AutoScalingGroup.Builder
avoiding the need to create one manually viaAutoScalingGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoScalingGroups(List<AutoScalingGroup>)
.- Parameters:
autoScalingGroups
- a consumer that will call methods onAutoScalingGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instances
The Amazon EC2 instances used by this environment.
- Parameters:
instances
- The Amazon EC2 instances used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The Amazon EC2 instances used by this environment.
- Parameters:
instances
- The Amazon EC2 instances used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The Amazon EC2 instances used by this environment.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<Instance>)
.- Parameters:
instances
- a consumer that will call methods onInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchConfigurations
EnvironmentResourceDescription.Builder launchConfigurations(Collection<LaunchConfiguration> launchConfigurations) The Auto Scaling launch configurations in use by this environment.
- Parameters:
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchConfigurations
EnvironmentResourceDescription.Builder launchConfigurations(LaunchConfiguration... launchConfigurations) The Auto Scaling launch configurations in use by this environment.
- Parameters:
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchConfigurations
EnvironmentResourceDescription.Builder launchConfigurations(Consumer<LaunchConfiguration.Builder>... launchConfigurations) The Auto Scaling launch configurations in use by this environment.
This is a convenience method that creates an instance of theLaunchConfiguration.Builder
avoiding the need to create one manually viaLaunchConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchConfigurations(List<LaunchConfiguration>)
.- Parameters:
launchConfigurations
- a consumer that will call methods onLaunchConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchTemplates
The Amazon EC2 launch templates in use by this environment.
- Parameters:
launchTemplates
- The Amazon EC2 launch templates in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplates
The Amazon EC2 launch templates in use by this environment.
- Parameters:
launchTemplates
- The Amazon EC2 launch templates in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplates
EnvironmentResourceDescription.Builder launchTemplates(Consumer<LaunchTemplate.Builder>... launchTemplates) The Amazon EC2 launch templates in use by this environment.
This is a convenience method that creates an instance of theLaunchTemplate.Builder
avoiding the need to create one manually viaLaunchTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchTemplates(List<LaunchTemplate>)
.- Parameters:
launchTemplates
- a consumer that will call methods onLaunchTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loadBalancers
The LoadBalancers in use by this environment.
- Parameters:
loadBalancers
- The LoadBalancers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
The LoadBalancers in use by this environment.
- Parameters:
loadBalancers
- The LoadBalancers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
EnvironmentResourceDescription.Builder loadBalancers(Consumer<LoadBalancer.Builder>... loadBalancers) The LoadBalancers in use by this environment.
This is a convenience method that creates an instance of theLoadBalancer.Builder
avoiding the need to create one manually viaLoadBalancer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadBalancers(List<LoadBalancer>)
.- Parameters:
loadBalancers
- a consumer that will call methods onLoadBalancer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggers
The
AutoScaling
triggers in use by this environment.- Parameters:
triggers
- TheAutoScaling
triggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The
AutoScaling
triggers in use by this environment.- Parameters:
triggers
- TheAutoScaling
triggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The
This is a convenience method that creates an instance of theAutoScaling
triggers in use by this environment.Trigger.Builder
avoiding the need to create one manually viaTrigger.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggers(List<Trigger>)
.- Parameters:
triggers
- a consumer that will call methods onTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queues
The queues used by this environment.
- Parameters:
queues
- The queues used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queues
The queues used by this environment.
- Parameters:
queues
- The queues used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queues
The queues used by this environment.
This is a convenience method that creates an instance of theQueue.Builder
avoiding the need to create one manually viaQueue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueues(List<Queue>)
.- Parameters:
queues
- a consumer that will call methods onQueue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-