public RepositoryLinkInfo withProviderType(ProviderType providerType) {
        this.providerType = providerType.toString();
        return this;
    }
<p>
The provider type for the connection, such as GitHub, associated with the repository link.
</p>

@param providerType
       The provider type for the connection, such as GitHub, associated with the repository link.
@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/RepositoryLinkInfo.java