Class HealthcareHl7V2StoreParserConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.healthcare_hl7_v2_store.HealthcareHl7V2StoreParserConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<HealthcareHl7V2StoreParserConfig>
- Enclosing interface:
- HealthcareHl7V2StoreParserConfig
@Stability(Stable) public static final class HealthcareHl7V2StoreParserConfig.Builder extends Object implements software.amazon.jsii.Builder<HealthcareHl7V2StoreParserConfig>
A builder forHealthcareHl7V2StoreParserConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcareHl7V2StoreParserConfig.BuilderallowNullHeader(com.hashicorp.cdktf.IResolvable allowNullHeader)Sets the value ofHealthcareHl7V2StoreParserConfig.getAllowNullHeader()HealthcareHl7V2StoreParserConfig.BuilderallowNullHeader(Boolean allowNullHeader)Sets the value ofHealthcareHl7V2StoreParserConfig.getAllowNullHeader()HealthcareHl7V2StoreParserConfigbuild()Builds the configured instance.HealthcareHl7V2StoreParserConfig.Builderschema(String schema)Sets the value ofHealthcareHl7V2StoreParserConfig.getSchema()HealthcareHl7V2StoreParserConfig.BuildersegmentTerminator(String segmentTerminator)Sets the value ofHealthcareHl7V2StoreParserConfig.getSegmentTerminator()HealthcareHl7V2StoreParserConfig.Builderversion(String version)Sets the value ofHealthcareHl7V2StoreParserConfig.getVersion()
-
-
-
Method Detail
-
allowNullHeader
@Stability(Stable) public HealthcareHl7V2StoreParserConfig.Builder allowNullHeader(Boolean allowNullHeader)
Sets the value ofHealthcareHl7V2StoreParserConfig.getAllowNullHeader()- Parameters:
allowNullHeader- Determines whether messages with no header are allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#allow_null_header HealthcareHl7V2Store#allow_null_header}- Returns:
this
-
allowNullHeader
@Stability(Stable) public HealthcareHl7V2StoreParserConfig.Builder allowNullHeader(com.hashicorp.cdktf.IResolvable allowNullHeader)
Sets the value ofHealthcareHl7V2StoreParserConfig.getAllowNullHeader()- Parameters:
allowNullHeader- Determines whether messages with no header are allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#allow_null_header HealthcareHl7V2Store#allow_null_header}- Returns:
this
-
schema
@Stability(Stable) public HealthcareHl7V2StoreParserConfig.Builder schema(String schema)
Sets the value ofHealthcareHl7V2StoreParserConfig.getSchema()- Parameters:
schema- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#schema HealthcareHl7V2Store#schema}- Returns:
this
-
segmentTerminator
@Stability(Stable) public HealthcareHl7V2StoreParserConfig.Builder segmentTerminator(String segmentTerminator)
Sets the value ofHealthcareHl7V2StoreParserConfig.getSegmentTerminator()- Parameters:
segmentTerminator- Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#segment_terminator HealthcareHl7V2Store#segment_terminator}- Returns:
this
-
version
@Stability(Stable) public HealthcareHl7V2StoreParserConfig.Builder version(String version)
Sets the value ofHealthcareHl7V2StoreParserConfig.getVersion()- Parameters:
version- The version of the unschematized parser to be used when a custom 'schema' is not set. Default value: "V1" Possible values: ["V1", "V2", "V3"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#version HealthcareHl7V2Store#version}- Returns:
this
-
build
@Stability(Stable) public HealthcareHl7V2StoreParserConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HealthcareHl7V2StoreParserConfig>- Returns:
- a new instance of
HealthcareHl7V2StoreParserConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-