Interface GetEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEndpointResponse.Builder,
,GetEndpointResponse> PinpointResponse.Builder
,SdkBuilder<GetEndpointResponse.Builder,
,GetEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEndpointResponse
public static interface GetEndpointResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetEndpointResponse.Builder,GetEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetEndpointResponse.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, 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 GetEndpointResponse.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:
-