public GatewayInstance withConnectionStatus(String connectionStatus) {
        setConnectionStatus(connectionStatus);
        return this;
    }
The connection state of the instance.

@param connectionStatus
       The connection state of the instance.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectionStatus
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/GatewayInstance.java