Interface DeleteEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteEndpointResponse.Builder,
,DeleteEndpointResponse> PinpointResponse.Builder
,SdkBuilder<DeleteEndpointResponse.Builder,
,DeleteEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteEndpointResponse
@Mutable
@NotThreadSafe
public static interface DeleteEndpointResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<DeleteEndpointResponse.Builder,DeleteEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteEndpointResponse.Builder
endpointResponse
(Consumer<EndpointResponse.Builder> endpointResponse) Sets the value of the EndpointResponse property for this object.endpointResponse
(EndpointResponse endpointResponse) Sets the value of the EndpointResponse property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endpointResponse
Sets the value of the EndpointResponse property for this object.- Parameters:
endpointResponse
- The new value for the EndpointResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointResponse
default DeleteEndpointResponse.Builder endpointResponse(Consumer<EndpointResponse.Builder> endpointResponse) Sets the value of the EndpointResponse property for this object. This is a convenience method that creates an instance of theEndpointResponse.Builder
avoiding the need to create one manually viaEndpointResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointResponse(EndpointResponse)
.- Parameters:
endpointResponse
- a consumer that will call methods onEndpointResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-