public static interface InboundConnection.Builder extends SdkPojo, CopyableBuilder<InboundConnection.Builder,InboundConnection>
Modifier and Type | Method and Description |
---|---|
InboundConnection.Builder |
connectionId(String connectionId)
The unique identifier of the connection.
|
default InboundConnection.Builder |
connectionStatus(Consumer<InboundConnectionStatus.Builder> connectionStatus)
The current status of the connection.
|
InboundConnection.Builder |
connectionStatus(InboundConnectionStatus connectionStatus)
The current status of the connection.
|
default InboundConnection.Builder |
localDomainInfo(Consumer<DomainInformationContainer.Builder> localDomainInfo)
Information about the source (local) domain.
|
InboundConnection.Builder |
localDomainInfo(DomainInformationContainer localDomainInfo)
Information about the source (local) domain.
|
default InboundConnection.Builder |
remoteDomainInfo(Consumer<DomainInformationContainer.Builder> remoteDomainInfo)
Information about the destination (remote) domain.
|
InboundConnection.Builder |
remoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Information about the destination (remote) domain.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InboundConnection.Builder localDomainInfo(DomainInformationContainer localDomainInfo)
Information about the source (local) domain.
localDomainInfo
- Information about the source (local) domain.default InboundConnection.Builder localDomainInfo(Consumer<DomainInformationContainer.Builder> localDomainInfo)
Information about the source (local) domain.
This is a convenience method that creates an instance of theDomainInformationContainer.Builder
avoiding the need to create one manually via DomainInformationContainer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to localDomainInfo(DomainInformationContainer)
.
localDomainInfo
- a consumer that will call methods on DomainInformationContainer.Builder
localDomainInfo(DomainInformationContainer)
InboundConnection.Builder remoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Information about the destination (remote) domain.
remoteDomainInfo
- Information about the destination (remote) domain.default InboundConnection.Builder remoteDomainInfo(Consumer<DomainInformationContainer.Builder> remoteDomainInfo)
Information about the destination (remote) domain.
This is a convenience method that creates an instance of theDomainInformationContainer.Builder
avoiding the need to create one manually via DomainInformationContainer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to remoteDomainInfo(DomainInformationContainer)
.
remoteDomainInfo
- a consumer that will call methods on DomainInformationContainer.Builder
remoteDomainInfo(DomainInformationContainer)
InboundConnection.Builder connectionId(String connectionId)
The unique identifier of the connection.
connectionId
- The unique identifier of the connection.InboundConnection.Builder connectionStatus(InboundConnectionStatus connectionStatus)
The current status of the connection.
connectionStatus
- The current status of the connection.default InboundConnection.Builder connectionStatus(Consumer<InboundConnectionStatus.Builder> connectionStatus)
The current status of the connection.
This is a convenience method that creates an instance of theInboundConnectionStatus.Builder
avoiding
the need to create one manually via InboundConnectionStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to connectionStatus(InboundConnectionStatus)
.
connectionStatus
- a consumer that will call methods on InboundConnectionStatus.Builder
connectionStatus(InboundConnectionStatus)
Copyright © 2022. All rights reserved.