-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathAssetExternalDQTestMetric.java
More file actions
62 lines (53 loc) · 2.92 KB
/
AssetExternalDQTestMetric.java
File metadata and controls
62 lines (53 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.structs;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.annotation.processing.Generated;
import lombok.*;
import lombok.experimental.SuperBuilder;
import lombok.extern.jackson.Jacksonized;
/**
* Detailed information about the External DQ Test metric.
*/
@Generated(value = "com.atlan.generators.ModelGeneratorV2")
@Getter
@Jacksonized
@SuperBuilder(toBuilder = true)
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@SuppressWarnings("serial")
public class AssetExternalDQTestMetric extends AtlanStruct {
private static final long serialVersionUID = 2L;
public static final String TYPE_NAME = "AssetExternalDQTestMetric";
/** Fixed typeName for AssetExternalDQTestMetric. */
@JsonIgnore
@Getter(onMethod_ = {@Override})
@Builder.Default
String typeName = TYPE_NAME;
/** Metric value generated in the particular run for the asset on the external DQ tool. */
String assetExternalDQTestMetricObservedValue;
/** Represents the upper threshold of acceptable metric values in the particular run for the asset on the external DQ tool based on historical trends. */
String assetExternalDQTestMetricUpperBound;
/** Represents the lower threshold of acceptable metric values in the particular run for the asset on the external DQ tool based on historical trends. */
String assetExternalDQTestMetricLowerBound;
/**
* Quickly create a new AssetExternalDQTestMetric.
* @param assetExternalDQTestMetricObservedValue Metric value generated in the particular run for the asset on the external DQ tool.
* @param assetExternalDQTestMetricUpperBound Represents the upper threshold of acceptable metric values in the particular run for the asset on the external DQ tool based on historical trends.
* @param assetExternalDQTestMetricLowerBound Represents the lower threshold of acceptable metric values in the particular run for the asset on the external DQ tool based on historical trends.
* @return a AssetExternalDQTestMetric with the provided information
*/
public static AssetExternalDQTestMetric of(
String assetExternalDQTestMetricObservedValue,
String assetExternalDQTestMetricUpperBound,
String assetExternalDQTestMetricLowerBound) {
return AssetExternalDQTestMetric.builder()
.assetExternalDQTestMetricObservedValue(assetExternalDQTestMetricObservedValue)
.assetExternalDQTestMetricUpperBound(assetExternalDQTestMetricUpperBound)
.assetExternalDQTestMetricLowerBound(assetExternalDQTestMetricLowerBound)
.build();
}
public abstract static class AssetExternalDQTestMetricBuilder<
C extends AssetExternalDQTestMetric, B extends AssetExternalDQTestMetricBuilder<C, B>>
extends AtlanStruct.AtlanStructBuilder<C, B> {}
}