
com.pulumi.azurenative.datafactory.outputs.FactoryGitHubConfigurationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.datafactory.outputs;
import com.pulumi.azurenative.datafactory.outputs.GitHubClientSecretResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FactoryGitHubConfigurationResponse {
/**
* @return Account name.
*
*/
private String accountName;
/**
* @return GitHub bring your own app client id.
*
*/
private @Nullable String clientId;
/**
* @return GitHub bring your own app client secret information.
*
*/
private @Nullable GitHubClientSecretResponse clientSecret;
/**
* @return Collaboration branch.
*
*/
private String collaborationBranch;
/**
* @return Disable manual publish operation in ADF studio to favor automated publish.
*
*/
private @Nullable Boolean disablePublish;
/**
* @return GitHub Enterprise host name. For example: `https://github.mydomain.com`
*
*/
private @Nullable String hostName;
/**
* @return Last commit id.
*
*/
private @Nullable String lastCommitId;
/**
* @return Repository name.
*
*/
private String repositoryName;
/**
* @return Root folder.
*
*/
private String rootFolder;
/**
* @return Type of repo configuration.
* Expected value is 'FactoryGitHubConfiguration'.
*
*/
private String type;
private FactoryGitHubConfigurationResponse() {}
/**
* @return Account name.
*
*/
public String accountName() {
return this.accountName;
}
/**
* @return GitHub bring your own app client id.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return GitHub bring your own app client secret information.
*
*/
public Optional clientSecret() {
return Optional.ofNullable(this.clientSecret);
}
/**
* @return Collaboration branch.
*
*/
public String collaborationBranch() {
return this.collaborationBranch;
}
/**
* @return Disable manual publish operation in ADF studio to favor automated publish.
*
*/
public Optional disablePublish() {
return Optional.ofNullable(this.disablePublish);
}
/**
* @return GitHub Enterprise host name. For example: `https://github.mydomain.com`
*
*/
public Optional hostName() {
return Optional.ofNullable(this.hostName);
}
/**
* @return Last commit id.
*
*/
public Optional lastCommitId() {
return Optional.ofNullable(this.lastCommitId);
}
/**
* @return Repository name.
*
*/
public String repositoryName() {
return this.repositoryName;
}
/**
* @return Root folder.
*
*/
public String rootFolder() {
return this.rootFolder;
}
/**
* @return Type of repo configuration.
* Expected value is 'FactoryGitHubConfiguration'.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FactoryGitHubConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountName;
private @Nullable String clientId;
private @Nullable GitHubClientSecretResponse clientSecret;
private String collaborationBranch;
private @Nullable Boolean disablePublish;
private @Nullable String hostName;
private @Nullable String lastCommitId;
private String repositoryName;
private String rootFolder;
private String type;
public Builder() {}
public Builder(FactoryGitHubConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.accountName = defaults.accountName;
this.clientId = defaults.clientId;
this.clientSecret = defaults.clientSecret;
this.collaborationBranch = defaults.collaborationBranch;
this.disablePublish = defaults.disablePublish;
this.hostName = defaults.hostName;
this.lastCommitId = defaults.lastCommitId;
this.repositoryName = defaults.repositoryName;
this.rootFolder = defaults.rootFolder;
this.type = defaults.type;
}
@CustomType.Setter
public Builder accountName(String accountName) {
if (accountName == null) {
throw new MissingRequiredPropertyException("FactoryGitHubConfigurationResponse", "accountName");
}
this.accountName = accountName;
return this;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder clientSecret(@Nullable GitHubClientSecretResponse clientSecret) {
this.clientSecret = clientSecret;
return this;
}
@CustomType.Setter
public Builder collaborationBranch(String collaborationBranch) {
if (collaborationBranch == null) {
throw new MissingRequiredPropertyException("FactoryGitHubConfigurationResponse", "collaborationBranch");
}
this.collaborationBranch = collaborationBranch;
return this;
}
@CustomType.Setter
public Builder disablePublish(@Nullable Boolean disablePublish) {
this.disablePublish = disablePublish;
return this;
}
@CustomType.Setter
public Builder hostName(@Nullable String hostName) {
this.hostName = hostName;
return this;
}
@CustomType.Setter
public Builder lastCommitId(@Nullable String lastCommitId) {
this.lastCommitId = lastCommitId;
return this;
}
@CustomType.Setter
public Builder repositoryName(String repositoryName) {
if (repositoryName == null) {
throw new MissingRequiredPropertyException("FactoryGitHubConfigurationResponse", "repositoryName");
}
this.repositoryName = repositoryName;
return this;
}
@CustomType.Setter
public Builder rootFolder(String rootFolder) {
if (rootFolder == null) {
throw new MissingRequiredPropertyException("FactoryGitHubConfigurationResponse", "rootFolder");
}
this.rootFolder = rootFolder;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("FactoryGitHubConfigurationResponse", "type");
}
this.type = type;
return this;
}
public FactoryGitHubConfigurationResponse build() {
final var _resultValue = new FactoryGitHubConfigurationResponse();
_resultValue.accountName = accountName;
_resultValue.clientId = clientId;
_resultValue.clientSecret = clientSecret;
_resultValue.collaborationBranch = collaborationBranch;
_resultValue.disablePublish = disablePublish;
_resultValue.hostName = hostName;
_resultValue.lastCommitId = lastCommitId;
_resultValue.repositoryName = repositoryName;
_resultValue.rootFolder = rootFolder;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy