com.pulumi.aws.lex.outputs.V2modelsBotMember 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.lex.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class V2modelsBotMember {
/**
* @return (Required) - Alias ID of a bot that is a member of this network of bots.
*
*/
private String aliasId;
/**
* @return (Required) - Alias name of a bot that is a member of this network of bots.
*
*/
private String aliasName;
/**
* @return (Required) - Unique ID of a bot that is a member of this network of bots.
*
*/
private String id;
/**
* @return Name of the bot. The bot name must be unique in the account that creates the bot. Type String. Length Constraints: Minimum length of 1. Maximum length of 100.
*
*/
private String name;
/**
* @return (Required) - Version of a bot that is a member of this network of bots.
*
*/
private String version;
private V2modelsBotMember() {}
/**
* @return (Required) - Alias ID of a bot that is a member of this network of bots.
*
*/
public String aliasId() {
return this.aliasId;
}
/**
* @return (Required) - Alias name of a bot that is a member of this network of bots.
*
*/
public String aliasName() {
return this.aliasName;
}
/**
* @return (Required) - Unique ID of a bot that is a member of this network of bots.
*
*/
public String id() {
return this.id;
}
/**
* @return Name of the bot. The bot name must be unique in the account that creates the bot. Type String. Length Constraints: Minimum length of 1. Maximum length of 100.
*
*/
public String name() {
return this.name;
}
/**
* @return (Required) - Version of a bot that is a member of this network of bots.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsBotMember defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String aliasId;
private String aliasName;
private String id;
private String name;
private String version;
public Builder() {}
public Builder(V2modelsBotMember defaults) {
Objects.requireNonNull(defaults);
this.aliasId = defaults.aliasId;
this.aliasName = defaults.aliasName;
this.id = defaults.id;
this.name = defaults.name;
this.version = defaults.version;
}
@CustomType.Setter
public Builder aliasId(String aliasId) {
if (aliasId == null) {
throw new MissingRequiredPropertyException("V2modelsBotMember", "aliasId");
}
this.aliasId = aliasId;
return this;
}
@CustomType.Setter
public Builder aliasName(String aliasName) {
if (aliasName == null) {
throw new MissingRequiredPropertyException("V2modelsBotMember", "aliasName");
}
this.aliasName = aliasName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("V2modelsBotMember", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("V2modelsBotMember", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("V2modelsBotMember", "version");
}
this.version = version;
return this;
}
public V2modelsBotMember build() {
final var _resultValue = new V2modelsBotMember();
_resultValue.aliasId = aliasId;
_resultValue.aliasName = aliasName;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy