public CloseInstancePublicPortsResult withOperation(Operation operation) {
        setOperation(operation);
        return this;
    }
<p>
An object that describes the result of the action, such as the status of the request, the timestamp of the
request, and the resources affected by the request.
</p>

@param operation
       An object that describes the result of the action, such as the status of the request, the timestamp of the
       request, and the resources affected by the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CloseInstancePublicPortsResult.java