com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification 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.
The newest version!
// *** 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.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes;
import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification;
import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification {
private @Nullable Boolean allowInterrupt;
private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes allowedInputTypes;
private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification audioAndDtmfInputSpecification;
private String mapBlockKey;
private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification textInputSpecification;
private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification() {}
public Optional allowInterrupt() {
return Optional.ofNullable(this.allowInterrupt);
}
public V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes allowedInputTypes() {
return this.allowedInputTypes;
}
public Optional audioAndDtmfInputSpecification() {
return Optional.ofNullable(this.audioAndDtmfInputSpecification);
}
public String mapBlockKey() {
return this.mapBlockKey;
}
public Optional textInputSpecification() {
return Optional.ofNullable(this.textInputSpecification);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean allowInterrupt;
private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes allowedInputTypes;
private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification audioAndDtmfInputSpecification;
private String mapBlockKey;
private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification textInputSpecification;
public Builder() {}
public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification defaults) {
Objects.requireNonNull(defaults);
this.allowInterrupt = defaults.allowInterrupt;
this.allowedInputTypes = defaults.allowedInputTypes;
this.audioAndDtmfInputSpecification = defaults.audioAndDtmfInputSpecification;
this.mapBlockKey = defaults.mapBlockKey;
this.textInputSpecification = defaults.textInputSpecification;
}
@CustomType.Setter
public Builder allowInterrupt(@Nullable Boolean allowInterrupt) {
this.allowInterrupt = allowInterrupt;
return this;
}
@CustomType.Setter
public Builder allowedInputTypes(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes allowedInputTypes) {
if (allowedInputTypes == null) {
throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification", "allowedInputTypes");
}
this.allowedInputTypes = allowedInputTypes;
return this;
}
@CustomType.Setter
public Builder audioAndDtmfInputSpecification(@Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification audioAndDtmfInputSpecification) {
this.audioAndDtmfInputSpecification = audioAndDtmfInputSpecification;
return this;
}
@CustomType.Setter
public Builder mapBlockKey(String mapBlockKey) {
if (mapBlockKey == null) {
throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification", "mapBlockKey");
}
this.mapBlockKey = mapBlockKey;
return this;
}
@CustomType.Setter
public Builder textInputSpecification(@Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification textInputSpecification) {
this.textInputSpecification = textInputSpecification;
return this;
}
public V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification build() {
final var _resultValue = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification();
_resultValue.allowInterrupt = allowInterrupt;
_resultValue.allowedInputTypes = allowedInputTypes;
_resultValue.audioAndDtmfInputSpecification = audioAndDtmfInputSpecification;
_resultValue.mapBlockKey = mapBlockKey;
_resultValue.textInputSpecification = textInputSpecification;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy