Interface UpdateEndpointGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateEndpointGroupResponse.Builder,
,UpdateEndpointGroupResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<UpdateEndpointGroupResponse.Builder,
,UpdateEndpointGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateEndpointGroupResponse
public static interface UpdateEndpointGroupResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<UpdateEndpointGroupResponse.Builder,UpdateEndpointGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointGroup
(Consumer<EndpointGroup.Builder> endpointGroup) The information about the endpoint group that was updated.endpointGroup
(EndpointGroup endpointGroup) The information about the endpoint group that was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorResponse.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 Details
-
endpointGroup
The information about the endpoint group that was updated.
- Parameters:
endpointGroup
- The information about the endpoint group that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroup
default UpdateEndpointGroupResponse.Builder endpointGroup(Consumer<EndpointGroup.Builder> endpointGroup) The information about the endpoint group that was updated.
This is a convenience method that creates an instance of theEndpointGroup.Builder
avoiding the need to create one manually viaEndpointGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointGroup(EndpointGroup)
.- Parameters:
endpointGroup
- a consumer that will call methods onEndpointGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-