Class CreatePatternDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datacatalog.model.CreatePatternDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreatePatternDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProperties used in pattern create operations.
 Note: Objects should always be created or deserialized using theCreatePatternDetails.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 theCreatePatternDetails.Builder, which maintain a set of all explicitly set fields calledCreatePatternDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCreatePatternDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description CreatePatternDetails(String displayName, String description, String expression, String filePathPrefix, List<String> checkFilePathList, Boolean isEnableCheckFailureLimit, Integer checkFailureLimit, Map<String,Map<String,String>> properties)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreatePatternDetails.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCheckFailureLimit()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.StringgetDescription()Detailed description of the Pattern.StringgetDisplayName()A user-friendly display name.StringgetExpression()Input string which drives the selection process, allowing for fine-grained control using qualifiers.StringgetFilePathPrefix()Input string which drives the selection process.BooleangetIsEnableCheckFailureLimit()Indicates whether the pattern 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.inthashCode()CreatePatternDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CreatePatternDetails@Deprecated @ConstructorProperties({"displayName","description","expression","filePathPrefix","checkFilePathList","isEnableCheckFailureLimit","checkFailureLimit","properties"}) public CreatePatternDetails(String displayName, String description, String expression, String filePathPrefix, List<String> checkFilePathList, Boolean isEnableCheckFailureLimit, Integer checkFailureLimit, Map<String,Map<String,String>> properties) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreatePatternDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreatePatternDetails.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Detailed description of the Pattern.- Returns:
- the value
 
 - 
getExpressionpublic 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. - Returns:
- the value
 
 - 
getFilePathPrefixpublic 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. - Returns:
- the value
 
 - 
getCheckFilePathListpublic 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 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. - Returns:
- the value
 
 - 
getIsEnableCheckFailureLimitpublic Boolean getIsEnableCheckFailureLimit() Indicates whether the pattern check, against the checkFilePathList, will fail the request if the count of UNMATCHED files is above the checkFailureLimit.- Returns:
- the value
 
 - 
getCheckFailureLimitpublic 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. - Returns:
- the value
 
 - 
getPropertiespublic 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”}}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-