com.pulumi.azure.bot.inputs.ChannelLineLineChannelArgs 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.bot.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ChannelLineLineChannelArgs extends com.pulumi.resources.ResourceArgs {
public static final ChannelLineLineChannelArgs Empty = new ChannelLineLineChannelArgs();
/**
* The access token which is used to call the Line Channel API.
*
*/
@Import(name="accessToken", required=true)
private Output accessToken;
/**
* @return The access token which is used to call the Line Channel API.
*
*/
public Output accessToken() {
return this.accessToken;
}
/**
* The secret which is used to access the Line Channel.
*
*/
@Import(name="secret", required=true)
private Output secret;
/**
* @return The secret which is used to access the Line Channel.
*
*/
public Output secret() {
return this.secret;
}
private ChannelLineLineChannelArgs() {}
private ChannelLineLineChannelArgs(ChannelLineLineChannelArgs $) {
this.accessToken = $.accessToken;
this.secret = $.secret;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ChannelLineLineChannelArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ChannelLineLineChannelArgs $;
public Builder() {
$ = new ChannelLineLineChannelArgs();
}
public Builder(ChannelLineLineChannelArgs defaults) {
$ = new ChannelLineLineChannelArgs(Objects.requireNonNull(defaults));
}
/**
* @param accessToken The access token which is used to call the Line Channel API.
*
* @return builder
*
*/
public Builder accessToken(Output accessToken) {
$.accessToken = accessToken;
return this;
}
/**
* @param accessToken The access token which is used to call the Line Channel API.
*
* @return builder
*
*/
public Builder accessToken(String accessToken) {
return accessToken(Output.of(accessToken));
}
/**
* @param secret The secret which is used to access the Line Channel.
*
* @return builder
*
*/
public Builder secret(Output secret) {
$.secret = secret;
return this;
}
/**
* @param secret The secret which is used to access the Line Channel.
*
* @return builder
*
*/
public Builder secret(String secret) {
return secret(Output.of(secret));
}
public ChannelLineLineChannelArgs build() {
if ($.accessToken == null) {
throw new MissingRequiredPropertyException("ChannelLineLineChannelArgs", "accessToken");
}
if ($.secret == null) {
throw new MissingRequiredPropertyException("ChannelLineLineChannelArgs", "secret");
}
return $;
}
}
}