Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
package com.oracle.bmc.dataintegration.model;
/**
* The type list rule that defines how fields are projected.
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
* the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
* {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
* {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
* (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
**/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = TypeListRule.Builder.class)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
property = "modelType"
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class TypeListRule extends ProjectionRule {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
@com.fasterxml.jackson.annotation.JsonProperty("key")
private String key;
public Builder key(String key) {
this.key = key;
this.__explicitlySet__.add("key");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("modelVersion")
private String modelVersion;
public Builder modelVersion(String modelVersion) {
this.modelVersion = modelVersion;
this.__explicitlySet__.add("modelVersion");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("parentRef")
private ParentReference parentRef;
public Builder parentRef(ParentReference parentRef) {
this.parentRef = parentRef;
this.__explicitlySet__.add("parentRef");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("isJavaRegexSyntax")
private Boolean isJavaRegexSyntax;
public Builder isJavaRegexSyntax(Boolean isJavaRegexSyntax) {
this.isJavaRegexSyntax = isJavaRegexSyntax;
this.__explicitlySet__.add("isJavaRegexSyntax");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("configValues")
private ConfigValues configValues;
public Builder configValues(ConfigValues configValues) {
this.configValues = configValues;
this.__explicitlySet__.add("configValues");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("objectStatus")
private Integer objectStatus;
public Builder objectStatus(Integer objectStatus) {
this.objectStatus = objectStatus;
this.__explicitlySet__.add("objectStatus");
return this;
}
@com.fasterxml.jackson.annotation.JsonProperty("description")
private String description;
public Builder description(String description) {
this.description = description;
this.__explicitlySet__.add("description");
return this;
}
/**
* Specifies whether to skip remaining rules when a match is found.
**/
@com.fasterxml.jackson.annotation.JsonProperty("isSkipRemainingRulesOnMatch")
private Boolean isSkipRemainingRulesOnMatch;
/**
* Specifies whether to skip remaining rules when a match is found.
* @param isSkipRemainingRulesOnMatch the value to set
* @return this builder
**/
public Builder isSkipRemainingRulesOnMatch(Boolean isSkipRemainingRulesOnMatch) {
this.isSkipRemainingRulesOnMatch = isSkipRemainingRulesOnMatch;
this.__explicitlySet__.add("isSkipRemainingRulesOnMatch");
return this;
}
/**
* Reference to a typed object. This can be either a key value to an object within the document, a shall referenced to a {@code TypedObject}, or a full {@code TypedObject} definition.
**/
@com.fasterxml.jackson.annotation.JsonProperty("scope")
private Object scope;
/**
* Reference to a typed object. This can be either a key value to an object within the document, a shall referenced to a {@code TypedObject}, or a full {@code TypedObject} definition.
* @param scope the value to set
* @return this builder
**/
public Builder scope(Object scope) {
this.scope = scope;
this.__explicitlySet__.add("scope");
return this;
}
/**
* Specifies whether to cascade or not.
**/
@com.fasterxml.jackson.annotation.JsonProperty("isCascade")
private Boolean isCascade;
/**
* Specifies whether to cascade or not.
* @param isCascade the value to set
* @return this builder
**/
public Builder isCascade(Boolean isCascade) {
this.isCascade = isCascade;
this.__explicitlySet__.add("isCascade");
return this;
}
/**
* The pattern matching strategy.
**/
@com.fasterxml.jackson.annotation.JsonProperty("matchingStrategy")
private MatchingStrategy matchingStrategy;
/**
* The pattern matching strategy.
* @param matchingStrategy the value to set
* @return this builder
**/
public Builder matchingStrategy(MatchingStrategy matchingStrategy) {
this.matchingStrategy = matchingStrategy;
this.__explicitlySet__.add("matchingStrategy");
return this;
}
/**
* Specifies if the rule is case sensitive.
**/
@com.fasterxml.jackson.annotation.JsonProperty("isCaseSensitive")
private Boolean isCaseSensitive;
/**
* Specifies if the rule is case sensitive.
* @param isCaseSensitive the value to set
* @return this builder
**/
public Builder isCaseSensitive(Boolean isCaseSensitive) {
this.isCaseSensitive = isCaseSensitive;
this.__explicitlySet__.add("isCaseSensitive");
return this;
}
/**
* The rule type.
**/
@com.fasterxml.jackson.annotation.JsonProperty("ruleType")
private RuleType ruleType;
/**
* The rule type.
* @param ruleType the value to set
* @return this builder
**/
public Builder ruleType(RuleType ruleType) {
this.ruleType = ruleType;
this.__explicitlySet__.add("ruleType");
return this;
}
/**
* An arry of types.
**/
@com.fasterxml.jackson.annotation.JsonProperty("types")
private java.util.List