public DomainConfigurationSummary withServiceType(ServiceType serviceType) {
        this.serviceType = serviceType.toString();
        return this;
    }
<p>
The type of service delivered by the endpoint.
</p>

@param serviceType
       The type of service delivered by the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
@see ServiceType
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DomainConfigurationSummary.java