public AuthenticationConfiguration withConnectivity(String connectivity) {
        setConnectivity(connectivity);
        return this;
    }
<p>
The type of connectivity used to access the Amazon MSK cluster.
</p>

@param connectivity
       The type of connectivity used to access the Amazon MSK cluster.
@return Returns a reference to this object so that method calls can be chained together.
@see Connectivity
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/AuthenticationConfiguration.java