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