Interface AnalysisLoadBalancerTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisLoadBalancerTarget.Builder,
,AnalysisLoadBalancerTarget> SdkBuilder<AnalysisLoadBalancerTarget.Builder,
,AnalysisLoadBalancerTarget> SdkPojo
- Enclosing class:
AnalysisLoadBalancerTarget
public static interface AnalysisLoadBalancerTarget.Builder
extends SdkPojo, CopyableBuilder<AnalysisLoadBalancerTarget.Builder,AnalysisLoadBalancerTarget>
-
Method Summary
Modifier and TypeMethodDescriptionThe IP address.availabilityZone
(String availabilityZone) The Availability Zone.instance
(Consumer<AnalysisComponent.Builder> instance) Information about the instance.instance
(AnalysisComponent instance) Information about the instance.The port on which the target is listening.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
-
address
The IP address.
- Parameters:
address
- The IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone.
- Parameters:
availabilityZone
- The Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instance
Information about the instance.
- Parameters:
instance
- Information about the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instance
Information about the instance.
This is a convenience method that creates an instance of theAnalysisComponent.Builder
avoiding the need to create one manually viaAnalysisComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstance(AnalysisComponent)
.- Parameters:
instance
- a consumer that will call methods onAnalysisComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
port
The port on which the target is listening.
- Parameters:
port
- The port on which the target is listening.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-