public AwsEc2InstanceViolation withViolationTarget(String violationTarget) {
        setViolationTarget(violationTarget);
        return this;
    }
<p>
The resource ID of the EC2 instance.
</p>

@param violationTarget
       The resource ID of the EC2 instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/AwsEc2InstanceViolation.java