public DescribeActionResult withTargetResource(TargetResource targetResource) {
        setTargetResource(targetResource);
        return this;
    }
<p>
The resource the action will be taken on.
</p>

@param targetResource
       The resource the action will be taken on.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/DescribeActionResult.java