public PipelineTriggerDeclaration withProviderType(String providerType) {
        setProviderType(providerType);
        return this;
    }
<p>
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
</p>

@param providerType
       The source provider for the event, such as connections configured for a repository with Git tags, for the
       specified trigger configuration.
@return Returns a reference to this object so that method calls can be chained together.
@see PipelineTriggerProviderType
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/PipelineTriggerDeclaration.java