public GetHostResult withProviderType(String providerType) {
        setProviderType(providerType);
        return this;
    }
<p>
The provider type of the requested host, such as GitHub Enterprise Server.
</p>

@param providerType
       The provider type of the requested host, such as GitHub Enterprise Server.
@return Returns a reference to this object so that method calls can be chained together.
@see ProviderType
aws-java-sdk-codestarconnections/src/main/java/com/amazonaws/services/codestarconnections/model/GetHostResult.java