@Override
    public SetStatusResult setStatus(SetStatusRequest request) {
        request = beforeClientExecution(request);
        return executeSetStatus(request);
    }
@ Override public SetStatusResult setStatus ( SetStatusRequest request ) { request = beforeClientExecution ( request ) ; return executeSetStatus ( request ) ; }
<p>
Requests that the status of the specified physical or logical pipeline objects be updated in the specified
pipeline. This update might not occur immediately, but is eventually consistent. The status that can be set
depends on the type of object (for example, DataNode or Activity). You cannot perform this operation on
<code>FINISHED</code> pipelines and attempting to do so returns <code>InvalidRequestException</code>.
</p>

@param setStatusRequest
Contains the parameters for SetStatus.
@return Result of the SetStatus operation returned by the service.
@throws PipelineNotFoundException
The specified pipeline was not found. Verify that you used the correct user and account identifiers.
@throws PipelineDeletedException
The specified pipeline has been deleted.
@throws InternalServiceErrorException
An internal service error occurred.
@throws InvalidRequestException
The request was not valid. Verify that your request was properly formatted, that the signature was
generated with the correct credentials, and that you haven't exceeded any of the service limits for your
account.
@sample DataPipeline.SetStatus
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatus" target="_top">AWS API
Documentation</a>