public NetworkInfo withEncryptionInTransitSupported(Boolean encryptionInTransitSupported) {
        setEncryptionInTransitSupported(encryptionInTransitSupported);
        return this;
    }
<p>
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
</p>

@param encryptionInTransitSupported
       Indicates whether the instance type automatically encrypts in-transit traffic between instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/NetworkInfo.java