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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetEndpointResponse.BuilderendpointResponse(Consumer<EndpointResponse.Builder> endpointResponse)Sets the value of the EndpointResponse property for this object.GetEndpointResponse.BuilderendpointResponse(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 Detail
-
endpointResponse
GetEndpointResponse.Builder endpointResponse(EndpointResponse 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:
endpointResponse(EndpointResponse)
-
-