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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetMessagingSessionEndpointResponse.Builderendpoint(Consumer<MessagingSessionEndpoint.Builder> endpoint)The endpoint returned in the response.GetMessagingSessionEndpointResponse.Builderendpoint(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 Detail
-
endpoint
GetMessagingSessionEndpointResponse.Builder endpoint(MessagingSessionEndpoint 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:
endpoint(MessagingSessionEndpoint)
-
-