com.pulumi.aws.connect.outputs.BotAssociationLexBot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.connect.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BotAssociationLexBot {
/**
* @return The Region that the Amazon Lex (V1) bot was created in. Defaults to current region.
*
*/
private @Nullable String lexRegion;
/**
* @return The name of the Amazon Lex (V1) bot.
*
*/
private String name;
private BotAssociationLexBot() {}
/**
* @return The Region that the Amazon Lex (V1) bot was created in. Defaults to current region.
*
*/
public Optional lexRegion() {
return Optional.ofNullable(this.lexRegion);
}
/**
* @return The name of the Amazon Lex (V1) bot.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BotAssociationLexBot defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String lexRegion;
private String name;
public Builder() {}
public Builder(BotAssociationLexBot defaults) {
Objects.requireNonNull(defaults);
this.lexRegion = defaults.lexRegion;
this.name = defaults.name;
}
@CustomType.Setter
public Builder lexRegion(@Nullable String lexRegion) {
this.lexRegion = lexRegion;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("BotAssociationLexBot", "name");
}
this.name = name;
return this;
}
public BotAssociationLexBot build() {
final var _resultValue = new BotAssociationLexBot();
_resultValue.lexRegion = lexRegion;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy