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
Modifier and TypeMethodDescriptiontargetGroups(Collection<TargetGroup> targetGroups) Information about the modified target group.targetGroups(Consumer<TargetGroup.Builder>... targetGroups) Information about the modified target group.targetGroups(TargetGroup... targetGroups) Information about the modified target group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
Information about the modified target group.
This is a convenience method that creates an instance of theTargetGroup.Builderavoiding the need to create one manually viaTargetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetGroups(List<TargetGroup>).- 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:
-