Interface EnvironmentResourceDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentResourceDescription.Builder,EnvironmentResourceDescription>,SdkBuilder<EnvironmentResourceDescription.Builder,EnvironmentResourceDescription>,SdkPojo
- Enclosing class:
- EnvironmentResourceDescription
public static interface EnvironmentResourceDescription.Builder extends SdkPojo, CopyableBuilder<EnvironmentResourceDescription.Builder,EnvironmentResourceDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnvironmentResourceDescription.BuilderautoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)TheAutoScalingGroupsused by this environment.EnvironmentResourceDescription.BuilderautoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups)TheAutoScalingGroupsused by this environment.EnvironmentResourceDescription.BuilderautoScalingGroups(AutoScalingGroup... autoScalingGroups)TheAutoScalingGroupsused by this environment.EnvironmentResourceDescription.BuilderenvironmentName(String environmentName)The name of the environment.EnvironmentResourceDescription.Builderinstances(Collection<Instance> instances)The Amazon EC2 instances used by this environment.EnvironmentResourceDescription.Builderinstances(Consumer<Instance.Builder>... instances)The Amazon EC2 instances used by this environment.EnvironmentResourceDescription.Builderinstances(Instance... instances)The Amazon EC2 instances used by this environment.EnvironmentResourceDescription.BuilderlaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)The Auto Scaling launch configurations in use by this environment.EnvironmentResourceDescription.BuilderlaunchConfigurations(Consumer<LaunchConfiguration.Builder>... launchConfigurations)The Auto Scaling launch configurations in use by this environment.EnvironmentResourceDescription.BuilderlaunchConfigurations(LaunchConfiguration... launchConfigurations)The Auto Scaling launch configurations in use by this environment.EnvironmentResourceDescription.BuilderlaunchTemplates(Collection<LaunchTemplate> launchTemplates)The Amazon EC2 launch templates in use by this environment.EnvironmentResourceDescription.BuilderlaunchTemplates(Consumer<LaunchTemplate.Builder>... launchTemplates)The Amazon EC2 launch templates in use by this environment.EnvironmentResourceDescription.BuilderlaunchTemplates(LaunchTemplate... launchTemplates)The Amazon EC2 launch templates in use by this environment.EnvironmentResourceDescription.BuilderloadBalancers(Collection<LoadBalancer> loadBalancers)The LoadBalancers in use by this environment.EnvironmentResourceDescription.BuilderloadBalancers(Consumer<LoadBalancer.Builder>... loadBalancers)The LoadBalancers in use by this environment.EnvironmentResourceDescription.BuilderloadBalancers(LoadBalancer... loadBalancers)The LoadBalancers in use by this environment.EnvironmentResourceDescription.Builderqueues(Collection<Queue> queues)The queues used by this environment.EnvironmentResourceDescription.Builderqueues(Consumer<Queue.Builder>... queues)The queues used by this environment.EnvironmentResourceDescription.Builderqueues(Queue... queues)The queues used by this environment.EnvironmentResourceDescription.Buildertriggers(Collection<Trigger> triggers)TheAutoScalingtriggers in use by this environment.EnvironmentResourceDescription.Buildertriggers(Consumer<Trigger.Builder>... triggers)TheAutoScalingtriggers in use by this environment.EnvironmentResourceDescription.Buildertriggers(Trigger... triggers)TheAutoScalingtriggers 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
environmentName
EnvironmentResourceDescription.Builder environmentName(String 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
EnvironmentResourceDescription.Builder autoScalingGroups(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
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 to#autoScalingGroups(List.) - 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:
#autoScalingGroups(java.util.Collection)
-
instances
EnvironmentResourceDescription.Builder instances(Collection<Instance> 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
EnvironmentResourceDescription.Builder instances(Instance... 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
EnvironmentResourceDescription.Builder instances(Consumer<Instance.Builder>... 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 to#instances(List.) - 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:
#instances(java.util.Collection)
-
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 to#launchConfigurations(List.) - 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:
#launchConfigurations(java.util.Collection)
-
launchTemplates
EnvironmentResourceDescription.Builder launchTemplates(Collection<LaunchTemplate> 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(LaunchTemplate... 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 to#launchTemplates(List.) - 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:
#launchTemplates(java.util.Collection)
-
loadBalancers
EnvironmentResourceDescription.Builder loadBalancers(Collection<LoadBalancer> 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(LoadBalancer... 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 to#loadBalancers(List.) - 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:
#loadBalancers(java.util.Collection)
-
triggers
EnvironmentResourceDescription.Builder triggers(Collection<Trigger> 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
EnvironmentResourceDescription.Builder triggers(Trigger... 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
EnvironmentResourceDescription.Builder triggers(Consumer<Trigger.Builder>... 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 to#triggers(List.) - 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:
#triggers(java.util.Collection)
-
queues
EnvironmentResourceDescription.Builder queues(Collection<Queue> 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
EnvironmentResourceDescription.Builder queues(Queue... 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
EnvironmentResourceDescription.Builder queues(Consumer<Queue.Builder>... 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 to#queues(List.) - 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:
#queues(java.util.Collection)
-
-