Package com.oracle.bmc.datasafe.model
Class MaskingPolicySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.MaskingPolicySummary.Builder
-
- Enclosing class:
- MaskingPolicySummary
public static class MaskingPolicySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaskingPolicySummary
build()
MaskingPolicySummary.Builder
columnSource(ColumnSourceDetails columnSource)
MaskingPolicySummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the masking policy.MaskingPolicySummary.Builder
copy(MaskingPolicySummary model)
MaskingPolicySummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MaskingPolicySummary.Builder
description(String description)
The description of the masking policy.MaskingPolicySummary.Builder
displayName(String displayName)
The display name of the masking policy.MaskingPolicySummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.MaskingPolicySummary.Builder
id(String id)
The OCID of the masking policy.MaskingPolicySummary.Builder
lifecycleState(MaskingLifecycleState lifecycleState)
The current state of the masking policy.MaskingPolicySummary.Builder
timeCreated(Date timeCreated)
The date and time the masking policy was created, in the format defined by RFC3339.MaskingPolicySummary.Builder
timeUpdated(Date timeUpdated)
The date and time the masking policy was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public MaskingPolicySummary.Builder id(String id)
The OCID of the masking policy.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public MaskingPolicySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the masking policy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public MaskingPolicySummary.Builder displayName(String displayName)
The display name of the masking policy.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public MaskingPolicySummary.Builder timeCreated(Date timeCreated)
The date and time the masking policy was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MaskingPolicySummary.Builder timeUpdated(Date timeUpdated)
The date and time the masking policy was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MaskingPolicySummary.Builder lifecycleState(MaskingLifecycleState lifecycleState)
The current state of the masking policy.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
description
public MaskingPolicySummary.Builder description(String description)
The description of the masking policy.- Parameters:
description
- the value to set- Returns:
- this builder
-
columnSource
public MaskingPolicySummary.Builder columnSource(ColumnSourceDetails columnSource)
-
freeformTags
public MaskingPolicySummary.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 MaskingPolicySummary.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 MaskingPolicySummary build()
-
copy
public MaskingPolicySummary.Builder copy(MaskingPolicySummary model)
-
-