Package com.oracle.bmc.datasafe.model
Class LibraryMaskingFormat.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.LibraryMaskingFormat.Builder
-
- Enclosing class:
- LibraryMaskingFormat
public static class LibraryMaskingFormat.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LibraryMaskingFormat
build()
LibraryMaskingFormat.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the library masking format.LibraryMaskingFormat.Builder
copy(LibraryMaskingFormat model)
LibraryMaskingFormat.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LibraryMaskingFormat.Builder
description(String description)
The description of the library masking format.LibraryMaskingFormat.Builder
displayName(String displayName)
The display name of the library masking format.LibraryMaskingFormat.Builder
formatEntries(List<FormatEntry> formatEntries)
An array of format entries.LibraryMaskingFormat.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.LibraryMaskingFormat.Builder
id(String id)
The OCID of the library masking format.LibraryMaskingFormat.Builder
lifecycleState(MaskingLifecycleState lifecycleState)
The current state of the library masking format.LibraryMaskingFormat.Builder
sensitiveTypeIds(List<String> sensitiveTypeIds)
An array of OCIDs of the sensitive types compatible with the library masking format.LibraryMaskingFormat.Builder
source(LibraryMaskingFormatSource source)
Specifies whether the library masking format is user-defined or predefined.LibraryMaskingFormat.Builder
timeCreated(Date timeCreated)
The date and time the library masking format was created, in the format defined by RFC3339LibraryMaskingFormat.Builder
timeUpdated(Date timeUpdated)
The date and time the library masking format was updated, in the format defined by RFC3339
-
-
-
Method Detail
-
id
public LibraryMaskingFormat.Builder id(String id)
The OCID of the library masking format.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public LibraryMaskingFormat.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the library masking format.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public LibraryMaskingFormat.Builder displayName(String displayName)
The display name of the library masking format.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public LibraryMaskingFormat.Builder timeCreated(Date timeCreated)
The date and time the library masking format was created, in the format defined by RFC3339- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LibraryMaskingFormat.Builder timeUpdated(Date timeUpdated)
The date and time the library masking format was updated, in the format defined by RFC3339- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public LibraryMaskingFormat.Builder lifecycleState(MaskingLifecycleState lifecycleState)
The current state of the library masking format.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
description
public LibraryMaskingFormat.Builder description(String description)
The description of the library masking format.- Parameters:
description
- the value to set- Returns:
- this builder
-
sensitiveTypeIds
public LibraryMaskingFormat.Builder sensitiveTypeIds(List<String> sensitiveTypeIds)
An array of OCIDs of the sensitive types compatible with the library masking format.- Parameters:
sensitiveTypeIds
- the value to set- Returns:
- this builder
-
source
public LibraryMaskingFormat.Builder source(LibraryMaskingFormatSource source)
Specifies whether the library masking format is user-defined or predefined.- Parameters:
source
- the value to set- Returns:
- this builder
-
formatEntries
public LibraryMaskingFormat.Builder formatEntries(List<FormatEntry> formatEntries)
An array of format entries.The combined output of all the format entries is used for masking.
- Parameters:
formatEntries
- the value to set- Returns:
- this builder
-
freeformTags
public LibraryMaskingFormat.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public LibraryMaskingFormat.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public LibraryMaskingFormat build()
-
copy
public LibraryMaskingFormat.Builder copy(LibraryMaskingFormat model)
-
-