public InboundCrossClusterSearchConnection withConnectionStatus(InboundCrossClusterSearchConnectionStatus connectionStatus) {
        setConnectionStatus(connectionStatus);
        return this;
    }
<p>
Specifies the <code><a>InboundCrossClusterSearchConnectionStatus</a></code> for the outbound connection.
</p>

@param connectionStatus
       Specifies the <code><a>InboundCrossClusterSearchConnectionStatus</a></code> for the outbound connection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/InboundCrossClusterSearchConnection.java