
com.pulumi.azurenative.datafactory.inputs.GetFactoryGitHubAccessTokenPlainArgs Maven / Gradle / Ivy
// *** 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.inputs;
import com.pulumi.azurenative.datafactory.inputs.GitHubClientSecret;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetFactoryGitHubAccessTokenPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetFactoryGitHubAccessTokenPlainArgs Empty = new GetFactoryGitHubAccessTokenPlainArgs();
/**
* The factory name.
*
*/
@Import(name="factoryName", required=true)
private String factoryName;
/**
* @return The factory name.
*
*/
public String factoryName() {
return this.factoryName;
}
/**
* GitHub access code.
*
*/
@Import(name="gitHubAccessCode", required=true)
private String gitHubAccessCode;
/**
* @return GitHub access code.
*
*/
public String gitHubAccessCode() {
return this.gitHubAccessCode;
}
/**
* GitHub access token base URL.
*
*/
@Import(name="gitHubAccessTokenBaseUrl", required=true)
private String gitHubAccessTokenBaseUrl;
/**
* @return GitHub access token base URL.
*
*/
public String gitHubAccessTokenBaseUrl() {
return this.gitHubAccessTokenBaseUrl;
}
/**
* GitHub application client ID.
*
*/
@Import(name="gitHubClientId")
private @Nullable String gitHubClientId;
/**
* @return GitHub application client ID.
*
*/
public Optional gitHubClientId() {
return Optional.ofNullable(this.gitHubClientId);
}
/**
* GitHub bring your own app client secret information.
*
*/
@Import(name="gitHubClientSecret")
private @Nullable GitHubClientSecret gitHubClientSecret;
/**
* @return GitHub bring your own app client secret information.
*
*/
public Optional gitHubClientSecret() {
return Optional.ofNullable(this.gitHubClientSecret);
}
/**
* The resource group name.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The resource group name.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetFactoryGitHubAccessTokenPlainArgs() {}
private GetFactoryGitHubAccessTokenPlainArgs(GetFactoryGitHubAccessTokenPlainArgs $) {
this.factoryName = $.factoryName;
this.gitHubAccessCode = $.gitHubAccessCode;
this.gitHubAccessTokenBaseUrl = $.gitHubAccessTokenBaseUrl;
this.gitHubClientId = $.gitHubClientId;
this.gitHubClientSecret = $.gitHubClientSecret;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFactoryGitHubAccessTokenPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetFactoryGitHubAccessTokenPlainArgs $;
public Builder() {
$ = new GetFactoryGitHubAccessTokenPlainArgs();
}
public Builder(GetFactoryGitHubAccessTokenPlainArgs defaults) {
$ = new GetFactoryGitHubAccessTokenPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param factoryName The factory name.
*
* @return builder
*
*/
public Builder factoryName(String factoryName) {
$.factoryName = factoryName;
return this;
}
/**
* @param gitHubAccessCode GitHub access code.
*
* @return builder
*
*/
public Builder gitHubAccessCode(String gitHubAccessCode) {
$.gitHubAccessCode = gitHubAccessCode;
return this;
}
/**
* @param gitHubAccessTokenBaseUrl GitHub access token base URL.
*
* @return builder
*
*/
public Builder gitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl) {
$.gitHubAccessTokenBaseUrl = gitHubAccessTokenBaseUrl;
return this;
}
/**
* @param gitHubClientId GitHub application client ID.
*
* @return builder
*
*/
public Builder gitHubClientId(@Nullable String gitHubClientId) {
$.gitHubClientId = gitHubClientId;
return this;
}
/**
* @param gitHubClientSecret GitHub bring your own app client secret information.
*
* @return builder
*
*/
public Builder gitHubClientSecret(@Nullable GitHubClientSecret gitHubClientSecret) {
$.gitHubClientSecret = gitHubClientSecret;
return this;
}
/**
* @param resourceGroupName The resource group name.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetFactoryGitHubAccessTokenPlainArgs build() {
if ($.factoryName == null) {
throw new MissingRequiredPropertyException("GetFactoryGitHubAccessTokenPlainArgs", "factoryName");
}
if ($.gitHubAccessCode == null) {
throw new MissingRequiredPropertyException("GetFactoryGitHubAccessTokenPlainArgs", "gitHubAccessCode");
}
if ($.gitHubAccessTokenBaseUrl == null) {
throw new MissingRequiredPropertyException("GetFactoryGitHubAccessTokenPlainArgs", "gitHubAccessTokenBaseUrl");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetFactoryGitHubAccessTokenPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy