com.pulumi.azure.appservice.inputs.GetSourceControlTokenPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.appservice.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSourceControlTokenPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSourceControlTokenPlainArgs Empty = new GetSourceControlTokenPlainArgs();
/**
* The Token type. Possible values include `Bitbucket`, `Dropbox`, `Github`, and `OneDrive`.
*
*/
@Import(name="type", required=true)
private String type;
/**
* @return The Token type. Possible values include `Bitbucket`, `Dropbox`, `Github`, and `OneDrive`.
*
*/
public String type() {
return this.type;
}
private GetSourceControlTokenPlainArgs() {}
private GetSourceControlTokenPlainArgs(GetSourceControlTokenPlainArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSourceControlTokenPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSourceControlTokenPlainArgs $;
public Builder() {
$ = new GetSourceControlTokenPlainArgs();
}
public Builder(GetSourceControlTokenPlainArgs defaults) {
$ = new GetSourceControlTokenPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param type The Token type. Possible values include `Bitbucket`, `Dropbox`, `Github`, and `OneDrive`.
*
* @return builder
*
*/
public Builder type(String type) {
$.type = type;
return this;
}
public GetSourceControlTokenPlainArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("GetSourceControlTokenPlainArgs", "type");
}
return $;
}
}
}