com.pulumi.googlenative.dlp.v2.outputs.GooglePrivacyDlpV2HybridOptionsResponse 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.dlp.v2.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.dlp.v2.outputs.GooglePrivacyDlpV2TableOptionsResponse;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GooglePrivacyDlpV2HybridOptionsResponse {
/**
* @return A short description of where the data is coming from. Will be stored once in the job. 256 max length.
*
*/
private String description;
/**
* @return To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
*
*/
private Map labels;
/**
* @return These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. No more than 10 keys can be required.
*
*/
private List requiredFindingLabelKeys;
/**
* @return If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
*
*/
private GooglePrivacyDlpV2TableOptionsResponse tableOptions;
private GooglePrivacyDlpV2HybridOptionsResponse() {}
/**
* @return A short description of where the data is coming from. Will be stored once in the job. 256 max length.
*
*/
public String description() {
return this.description;
}
/**
* @return To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
*
*/
public Map labels() {
return this.labels;
}
/**
* @return These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. No more than 10 keys can be required.
*
*/
public List requiredFindingLabelKeys() {
return this.requiredFindingLabelKeys;
}
/**
* @return If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
*
*/
public GooglePrivacyDlpV2TableOptionsResponse tableOptions() {
return this.tableOptions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GooglePrivacyDlpV2HybridOptionsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private Map labels;
private List requiredFindingLabelKeys;
private GooglePrivacyDlpV2TableOptionsResponse tableOptions;
public Builder() {}
public Builder(GooglePrivacyDlpV2HybridOptionsResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.labels = defaults.labels;
this.requiredFindingLabelKeys = defaults.requiredFindingLabelKeys;
this.tableOptions = defaults.tableOptions;
}
@CustomType.Setter
public Builder description(String description) {
this.description = Objects.requireNonNull(description);
return this;
}
@CustomType.Setter
public Builder labels(Map labels) {
this.labels = Objects.requireNonNull(labels);
return this;
}
@CustomType.Setter
public Builder requiredFindingLabelKeys(List requiredFindingLabelKeys) {
this.requiredFindingLabelKeys = Objects.requireNonNull(requiredFindingLabelKeys);
return this;
}
public Builder requiredFindingLabelKeys(String... requiredFindingLabelKeys) {
return requiredFindingLabelKeys(List.of(requiredFindingLabelKeys));
}
@CustomType.Setter
public Builder tableOptions(GooglePrivacyDlpV2TableOptionsResponse tableOptions) {
this.tableOptions = Objects.requireNonNull(tableOptions);
return this;
}
public GooglePrivacyDlpV2HybridOptionsResponse build() {
final var o = new GooglePrivacyDlpV2HybridOptionsResponse();
o.description = description;
o.labels = labels;
o.requiredFindingLabelKeys = requiredFindingLabelKeys;
o.tableOptions = tableOptions;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy