public ResourceChangeDetail withTarget(ResourceTargetDefinition target) {
        setTarget(target);
        return this;
    }
<p>
A <code>ResourceTargetDefinition</code> structure that describes the field that CloudFormation will change and
whether the resource will be recreated.
</p>

@param target
       A <code>ResourceTargetDefinition</code> structure that describes the field that CloudFormation will change
       and whether the resource will be recreated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceChangeDetail.java