public InstanceAttribute withSourceDestCheck(Boolean sourceDestCheck) {
        setSourceDestCheck(sourceDestCheck);
        return this;
    }
<p>
Enable or disable source/destination checks, which ensure that the instance is either the source or the
destination of any traffic that it receives. If the value is <code>true</code>, source/destination checks are
enabled; otherwise, they are disabled. The default value is <code>true</code>. You must disable
source/destination checks if the instance runs services such as network address translation, routing, or
firewalls.
</p>

@param sourceDestCheck
       Enable or disable source/destination checks, which ensure that the instance is either the source or the
       destination of any traffic that it receives. If the value is <code>true</code>, source/destination checks
       are enabled; otherwise, they are disabled. The default value is <code>true</code>. You must disable
       source/destination checks if the instance runs services such as network address translation, routing, or
       firewalls.
@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/InstanceAttribute.java