public AwsEc2VpnConnectionOptionsTunnelOptionsDetails withPreSharedKey(String preSharedKey) {
        setPreSharedKey(preSharedKey);
        return this;
    }
<p>
The preshared key to establish initial authentication between the virtual private gateway and the customer
gateway.
</p>

@param preSharedKey
       The preshared key to establish initial authentication between the virtual private gateway and the customer
       gateway.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2VpnConnectionOptionsTunnelOptionsDetails.java