com.pulumi.googlenative.healthcare.v1beta1.outputs.FhirFieldConfigResponse Maven / Gradle / Ivy
// *** 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.googlenative.healthcare.v1beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.healthcare.v1beta1.outputs.GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse;
import com.pulumi.googlenative.healthcare.v1beta1.outputs.GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class FhirFieldConfigResponse {
/**
* @return Specifies FHIR paths to match and how to transform them. Any field that is not matched by a `FieldMetadata` is passed through to the output dataset unmodified. All extensions will be processed according to `keep_extensions`. If a field can be matched by more than one `FieldMetadata`, the first `FieldMetadata.Action` is applied. Overrides `options` and `profile`.
*
*/
private List fieldMetadataList;
/**
* @return Specifies additional options, overriding the base `profile`.
*
*/
private GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse options;
/**
* @return Base profile type for handling FHIR fields.
*
*/
private String profileType;
private FhirFieldConfigResponse() {}
/**
* @return Specifies FHIR paths to match and how to transform them. Any field that is not matched by a `FieldMetadata` is passed through to the output dataset unmodified. All extensions will be processed according to `keep_extensions`. If a field can be matched by more than one `FieldMetadata`, the first `FieldMetadata.Action` is applied. Overrides `options` and `profile`.
*
*/
public List fieldMetadataList() {
return this.fieldMetadataList;
}
/**
* @return Specifies additional options, overriding the base `profile`.
*
*/
public GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse options() {
return this.options;
}
/**
* @return Base profile type for handling FHIR fields.
*
*/
public String profileType() {
return this.profileType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FhirFieldConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List fieldMetadataList;
private GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse options;
private String profileType;
public Builder() {}
public Builder(FhirFieldConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.fieldMetadataList = defaults.fieldMetadataList;
this.options = defaults.options;
this.profileType = defaults.profileType;
}
@CustomType.Setter
public Builder fieldMetadataList(List fieldMetadataList) {
this.fieldMetadataList = Objects.requireNonNull(fieldMetadataList);
return this;
}
public Builder fieldMetadataList(GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse... fieldMetadataList) {
return fieldMetadataList(List.of(fieldMetadataList));
}
@CustomType.Setter
public Builder options(GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse options) {
this.options = Objects.requireNonNull(options);
return this;
}
@CustomType.Setter
public Builder profileType(String profileType) {
this.profileType = Objects.requireNonNull(profileType);
return this;
}
public FhirFieldConfigResponse build() {
final var o = new FhirFieldConfigResponse();
o.fieldMetadataList = fieldMetadataList;
o.options = options;
o.profileType = profileType;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy