Interface InitiateChatForCaseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<InitiateChatForCaseResponse.Builder,,InitiateChatForCaseResponse> DevOpsAgentResponse.Builder,SdkBuilder<InitiateChatForCaseResponse.Builder,,InitiateChatForCaseResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
InitiateChatForCaseResponse
@Mutable
@NotThreadSafe
public static interface InitiateChatForCaseResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<InitiateChatForCaseResponse.Builder,InitiateChatForCaseResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchatParticipantConnection(Consumer<ChatParticipantConnection.Builder> chatParticipantConnection) The newly created chat participant connectionchatParticipantConnection(ChatParticipantConnection chatParticipantConnection) The newly created chat participant connectionMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
chatParticipantConnection
InitiateChatForCaseResponse.Builder chatParticipantConnection(ChatParticipantConnection chatParticipantConnection) The newly created chat participant connection
- Parameters:
chatParticipantConnection- The newly created chat participant connection- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatParticipantConnection
default InitiateChatForCaseResponse.Builder chatParticipantConnection(Consumer<ChatParticipantConnection.Builder> chatParticipantConnection) The newly created chat participant connection
This is a convenience method that creates an instance of theChatParticipantConnection.Builderavoiding the need to create one manually viaChatParticipantConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochatParticipantConnection(ChatParticipantConnection).- Parameters:
chatParticipantConnection- a consumer that will call methods onChatParticipantConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-