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) TheAutoScalingGroupsused by this environment.autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) TheAutoScalingGroupsused by this environment.autoScalingGroups(AutoScalingGroup... autoScalingGroups) TheAutoScalingGroupsused 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) TheAutoScalingtriggers in use by this environment.triggers(Consumer<Trigger.Builder>... triggers) TheAutoScalingtriggers in use by this environment.TheAutoScalingtriggers in use by this environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
AutoScalingGroupsused by this environment.- Parameters:
autoScalingGroups- TheAutoScalingGroupsused by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
The
AutoScalingGroupsused by this environment.- Parameters:
autoScalingGroups- TheAutoScalingGroupsused 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 theAutoScalingGroupsused by this environment.AutoScalingGroup.Builderavoiding the need to create one manually viaAutoScalingGroup.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstance.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLaunchConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLaunchTemplate.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLoadBalancer.builder().When the
Consumercompletes,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
AutoScalingtriggers in use by this environment.- Parameters:
triggers- TheAutoScalingtriggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The
AutoScalingtriggers in use by this environment.- Parameters:
triggers- TheAutoScalingtriggers 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 theAutoScalingtriggers in use by this environment.Trigger.Builderavoiding the need to create one manually viaTrigger.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaQueue.builder().When the
Consumercompletes,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:
-