Interface CreateCustomRoutingEndpointGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCustomRoutingEndpointGroupResponse.Builder,,CreateCustomRoutingEndpointGroupResponse> GlobalAcceleratorResponse.Builder,SdkBuilder<CreateCustomRoutingEndpointGroupResponse.Builder,,CreateCustomRoutingEndpointGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateCustomRoutingEndpointGroupResponse
public static interface CreateCustomRoutingEndpointGroupResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<CreateCustomRoutingEndpointGroupResponse.Builder,CreateCustomRoutingEndpointGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointGroup(Consumer<CustomRoutingEndpointGroup.Builder> endpointGroup) The information about the endpoint group created for a custom routing accelerator.endpointGroup(CustomRoutingEndpointGroup endpointGroup) The information about the endpoint group created 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endpointGroup
CreateCustomRoutingEndpointGroupResponse.Builder endpointGroup(CustomRoutingEndpointGroup endpointGroup) The information about the endpoint group created for a custom routing accelerator.
- Parameters:
endpointGroup- The information about the endpoint group created for a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroup
default CreateCustomRoutingEndpointGroupResponse.Builder endpointGroup(Consumer<CustomRoutingEndpointGroup.Builder> endpointGroup) The information about the endpoint group created 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:
-