com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent 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.aws.lex.outputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent {
/**
* @return Name of the intent.
*
*/
private @Nullable String name;
/**
* @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.
*
*/
private @Nullable List slots;
private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent() {}
/**
* @return Name of the intent.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.
*
*/
public List slots() {
return this.slots == null ? List.of() : this.slots;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable List slots;
public Builder() {}
public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.slots = defaults.slots;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder slots(@Nullable List slots) {
this.slots = slots;
return this;
}
public Builder slots(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot... slots) {
return slots(List.of(slots));
}
public V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent build() {
final var _resultValue = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent();
_resultValue.name = name;
_resultValue.slots = slots;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy