Interface ModifyTargetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyTargetGroupResponse.Builder,ModifyTargetGroupResponse>
,ElasticLoadBalancingV2Response.Builder
,SdkBuilder<ModifyTargetGroupResponse.Builder,ModifyTargetGroupResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ModifyTargetGroupResponse
public static interface ModifyTargetGroupResponse.Builder extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<ModifyTargetGroupResponse.Builder,ModifyTargetGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyTargetGroupResponse.Builder
targetGroups(Collection<TargetGroup> targetGroups)
Information about the modified target group.ModifyTargetGroupResponse.Builder
targetGroups(Consumer<TargetGroup.Builder>... targetGroups)
Information about the modified target group.ModifyTargetGroupResponse.Builder
targetGroups(TargetGroup... targetGroups)
Information about the modified target group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.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 Detail
-
targetGroups
ModifyTargetGroupResponse.Builder targetGroups(Collection<TargetGroup> targetGroups)
Information about the modified target group.
- Parameters:
targetGroups
- Information about the modified target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
ModifyTargetGroupResponse.Builder targetGroups(TargetGroup... targetGroups)
Information about the modified target group.
- Parameters:
targetGroups
- Information about the modified target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
ModifyTargetGroupResponse.Builder targetGroups(Consumer<TargetGroup.Builder>... targetGroups)
Information about the modified target group.
This is a convenience method that creates an instance of theTargetGroup.Builder
avoiding the need to create one manually viaTargetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#targetGroups(List
.) - Parameters:
targetGroups
- a consumer that will call methods onTargetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targetGroups(java.util.Collection
)
-
-