Interface GetMessagingSessionEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkMessagingResponse.Builder
,CopyableBuilder<GetMessagingSessionEndpointResponse.Builder,
,GetMessagingSessionEndpointResponse> SdkBuilder<GetMessagingSessionEndpointResponse.Builder,
,GetMessagingSessionEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMessagingSessionEndpointResponse
public static interface GetMessagingSessionEndpointResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<GetMessagingSessionEndpointResponse.Builder,GetMessagingSessionEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoint
(Consumer<MessagingSessionEndpoint.Builder> endpoint) The endpoint returned in the response.endpoint
(MessagingSessionEndpoint endpoint) The endpoint returned in the response.Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
endpoint
The endpoint returned in the response.
- Parameters:
endpoint
- The endpoint returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
default GetMessagingSessionEndpointResponse.Builder endpoint(Consumer<MessagingSessionEndpoint.Builder> endpoint) The endpoint returned in the response.
This is a convenience method that creates an instance of theMessagingSessionEndpoint.Builder
avoiding the need to create one manually viaMessagingSessionEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoint(MessagingSessionEndpoint)
.- Parameters:
endpoint
- a consumer that will call methods onMessagingSessionEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-