Interface ModifyListenerAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyListenerAttributesResponse.Builder,,ModifyListenerAttributesResponse> ElasticLoadBalancingV2Response.Builder,SdkBuilder<ModifyListenerAttributesResponse.Builder,,ModifyListenerAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ModifyListenerAttributesResponse
@Mutable
@NotThreadSafe
public static interface ModifyListenerAttributesResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<ModifyListenerAttributesResponse.Builder,ModifyListenerAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<ListenerAttribute> attributes) Information about the listener attributes.attributes(Consumer<ListenerAttribute.Builder>... attributes) Information about the listener attributes.attributes(ListenerAttribute... attributes) Information about the listener attributes.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
-
attributes
Information about the listener attributes.
- Parameters:
attributes- Information about the listener attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Information about the listener attributes.
- Parameters:
attributes- Information about the listener attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
ModifyListenerAttributesResponse.Builder attributes(Consumer<ListenerAttribute.Builder>... attributes) Information about the listener attributes.
This is a convenience method that creates an instance of theListenerAttribute.Builderavoiding the need to create one manually viaListenerAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<ListenerAttribute>).- Parameters:
attributes- a consumer that will call methods onListenerAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-