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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
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.Builderavoiding the need to create one manually viaMessagingSessionEndpoint.builder().When the
Consumercompletes,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:
-