Interface DescribeCustomRoutingEndpointGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCustomRoutingEndpointGroupResponse.Builder,
,DescribeCustomRoutingEndpointGroupResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<DescribeCustomRoutingEndpointGroupResponse.Builder,
,DescribeCustomRoutingEndpointGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCustomRoutingEndpointGroupResponse
public static interface DescribeCustomRoutingEndpointGroupResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<DescribeCustomRoutingEndpointGroupResponse.Builder,DescribeCustomRoutingEndpointGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointGroup
(Consumer<CustomRoutingEndpointGroup.Builder> endpointGroup) The description of an endpoint group for a custom routing accelerator.endpointGroup
(CustomRoutingEndpointGroup endpointGroup) The description of an endpoint group for a custom routing accelerator.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
DescribeCustomRoutingEndpointGroupResponse.Builder endpointGroup(CustomRoutingEndpointGroup endpointGroup) The description of an endpoint group for a custom routing accelerator.
- Parameters:
endpointGroup
- The description of an endpoint group for a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroup
default DescribeCustomRoutingEndpointGroupResponse.Builder endpointGroup(Consumer<CustomRoutingEndpointGroup.Builder> endpointGroup) The description of an endpoint group for a custom routing accelerator.
This is a convenience method that creates an instance of theCustomRoutingEndpointGroup.Builder
avoiding the need to create one manually viaCustomRoutingEndpointGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointGroup(CustomRoutingEndpointGroup)
.- Parameters:
endpointGroup
- a consumer that will call methods onCustomRoutingEndpointGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-