Interface AddEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddEndpointsResponse.Builder,,AddEndpointsResponse> GlobalAcceleratorResponse.Builder,SdkBuilder<AddEndpointsResponse.Builder,,AddEndpointsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AddEndpointsResponse
public static interface AddEndpointsResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<AddEndpointsResponse.Builder,AddEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointDescriptions(Collection<EndpointDescription> endpointDescriptions) The list of endpoint objects.endpointDescriptions(Consumer<EndpointDescription.Builder>... endpointDescriptions) The list of endpoint objects.endpointDescriptions(EndpointDescription... endpointDescriptions) The list of endpoint objects.endpointGroupArn(String endpointGroupArn) The Amazon Resource Name (ARN) of the endpoint group.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
-
endpointDescriptions
AddEndpointsResponse.Builder endpointDescriptions(Collection<EndpointDescription> endpointDescriptions) The list of endpoint objects.
- Parameters:
endpointDescriptions- The list of endpoint objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointDescriptions
The list of endpoint objects.
- Parameters:
endpointDescriptions- The list of endpoint objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointDescriptions
AddEndpointsResponse.Builder endpointDescriptions(Consumer<EndpointDescription.Builder>... endpointDescriptions) The list of endpoint objects.
This is a convenience method that creates an instance of theEndpointDescription.Builderavoiding the need to create one manually viaEndpointDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointDescriptions(List<EndpointDescription>).- Parameters:
endpointDescriptions- a consumer that will call methods onEndpointDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointGroupArn
The Amazon Resource Name (ARN) of the endpoint group.
- Parameters:
endpointGroupArn- The Amazon Resource Name (ARN) of the endpoint group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-