public ScalingActivity withServiceNamespace(String serviceNamespace) {
        setServiceNamespace(serviceNamespace);
        return this;
    }
<p>
The namespace of the Amazon Web Services service that provides the resource, or a <code>custom-resource</code>.
</p>

@param serviceNamespace
       The namespace of the Amazon Web Services service that provides the resource, or a
       <code>custom-resource</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ServiceNamespace
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/ScalingActivity.java