@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class ValidatePatternDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Validate pattern using the expression and file list.
Note: Objects should always be created or deserialized using the ValidatePatternDetails.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 ValidatePatternDetails.Builder
, which maintain a
set of all explicitly set fields called ValidatePatternDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ValidatePatternDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ValidatePatternDetails(String expression,
String filePathPrefix,
List<String> checkFilePathList,
Integer checkFailureLimit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ValidatePatternDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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 pattern can be tried, as a check.
|
String |
getExpression()
Input string which drives the selection process, allowing for fine-grained control using
qualifiers.
|
String |
getFilePathPrefix()
Input string which drives the selection process.
|
int |
hashCode() |
ValidatePatternDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"expression","filePathPrefix","checkFilePathList","checkFailureLimit"}) public ValidatePatternDetails(String expression, String filePathPrefix, List<String> checkFilePathList, Integer checkFailureLimit)
public static ValidatePatternDetails.Builder builder()
Create a new builder.
public ValidatePatternDetails.Builder toBuilder()
public String getExpression()
Input string which drives the selection process, allowing for fine-grained control using qualifiers. Refer to the user documentation for details of the format and examples. A pattern cannot include both a prefix and an expression.
public String getFilePathPrefix()
Input string which drives the selection process. Refer to the user documentation for details of the format and examples. A pattern cannot include both a prefix and an expression.
public List<String> getCheckFilePathList()
List of file paths against which the pattern can be tried, as a check. This documents, for reference purposes, some example objects a pattern is meant to work with.
If provided with the request,this overrides the list which already exists as part of the pattern, if any.
public Integer getCheckFailureLimit()
The maximum number of UNMATCHED files, in checkFilePathList, above which the check fails. Optional, if checkFilePathList is provided.
If provided with the request, this overrides the value which already exists as part of the pattern, if any.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.