Interface ModifyListenerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyListenerResponse.Builder,,ModifyListenerResponse> ElasticLoadBalancingV2Response.Builder,SdkBuilder<ModifyListenerResponse.Builder,,ModifyListenerResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ModifyListenerResponse
@Mutable
@NotThreadSafe
public static interface ModifyListenerResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<ModifyListenerResponse.Builder,ModifyListenerResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlisteners(Collection<Listener> listeners) Information about the modified listener.listeners(Consumer<Listener.Builder>... listeners) Information about the modified listener.Information about the modified listener.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
listeners
Information about the modified listener.
- Parameters:
listeners- Information about the modified listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listeners
Information about the modified listener.
- Parameters:
listeners- Information about the modified listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listeners
Information about the modified listener.
This is a convenience method that creates an instance of theListener.Builderavoiding the need to create one manually viaListener.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolisteners(List<Listener>).- Parameters:
listeners- a consumer that will call methods onListener.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-