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
copyMethods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorResponse.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
-
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.Builderavoiding the need to create one manually viaCustomRoutingEndpointGroup.builder().When the
Consumercompletes,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:
-