@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreatePatternDetails extends Object
Properties used in data asset create operations.
Note: Objects should always be created or deserialized using the CreatePatternDetails.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the CreatePatternDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
CreatePatternDetails.Builder |
| Constructor and Description |
|---|
CreatePatternDetails(String displayName,
String description,
String expression,
List<String> checkFilePathList,
Boolean isEnableCheckFailureLimit,
Integer checkFailureLimit,
Map<String,Map<String,String>> properties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CreatePatternDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getCheckFailureLimit()
The maximum number of UNMATCHED files, in checkFilePathList, above which the check fails.
|
List<String> |
getCheckFilePathList()
List of file paths against which the expression can be tried, as a check.
|
String |
getDescription()
Detailed description of the Pattern.
|
String |
getDisplayName()
A user-friendly display name.
|
String |
getExpression()
The expression used in the pattern that may include qualifiers.
|
Boolean |
getIsEnableCheckFailureLimit()
Indicates whether the expression check, against the checkFilePathList, will fail the request if the count of
UNMATCHED files is above the checkFailureLimit.
|
Map<String,Map<String,String>> |
getProperties()
A map of maps that contains the properties which are specific to the pattern type.
|
int |
hashCode() |
CreatePatternDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"displayName","description","expression","checkFilePathList","isEnableCheckFailureLimit","checkFailureLimit","properties"}) @Deprecated public CreatePatternDetails(String displayName, String description, String expression, List<String> checkFilePathList, Boolean isEnableCheckFailureLimit, Integer checkFailureLimit, Map<String,Map<String,String>> properties)
public static CreatePatternDetails.Builder builder()
Create a new builder.
public CreatePatternDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getDescription()
Detailed description of the Pattern.
public String getExpression()
The expression used in the pattern that may include qualifiers. Refer to the user documentation for details of the format and examples.
public List<String> getCheckFilePathList()
List of file paths against which the expression can be tried, as a check. This documents, for reference purposes, some example objects a pattern is meant to work with. If isEnableCheckFailureLimit is set to true, this will be run as a validation during the request, such that if the check fails the request fails. If isEnableCheckFailureLimit instead is set to (the default) false, a pattern will still be created or updated even if the check fails, with a lifecycleState of FAILED.
public Boolean getIsEnableCheckFailureLimit()
Indicates whether the expression check, against the checkFilePathList, will fail the request if the count of UNMATCHED files is above the checkFailureLimit.
public Integer getCheckFailureLimit()
The maximum number of UNMATCHED files, in checkFilePathList, above which the check fails. Optional, if checkFilePathList is provided - but if isEnableCheckFailureLimit is set to true it is required.
public Map<String,Map<String,String>> getProperties()
A map of maps that contains the properties which are specific to the pattern type. Each pattern type
definition defines it’s set of required and optional properties.
Example: {\"properties\": { \"default\": { \"tbd\"}}}
Copyright © 2016–2021. All rights reserved.