public ChangeSetHookTargetDetails withResourceTargetDetails(ChangeSetHookResourceTargetDetails resourceTargetDetails) {
        setResourceTargetDetails(resourceTargetDetails);
        return this;
    }
<p>
Required if <code>TargetType</code> is <code>RESOURCE</code>.
</p>

@param resourceTargetDetails
       Required if <code>TargetType</code> is <code>RESOURCE</code>.
@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/ChangeSetHookTargetDetails.java