public ListComponentsRequest withServiceName(String serviceName) {
        setServiceName(serviceName);
        return this;
    }
<p>
The name of a service for result list filtering. Proton returns components attached to service instances of the
service.
</p>

@param serviceName
       The name of a service for result list filtering. Proton returns components attached to service instances
       of the service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListComponentsRequest.java