Package com.oracle.bmc.datasafe.model
Class SubsettingPolicySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SubsettingPolicySummary.Builder
-
- Enclosing class:
- SubsettingPolicySummary
public static class SubsettingPolicySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubsettingPolicySummarybuild()SubsettingPolicySummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the subsetting policySubsettingPolicySummary.Buildercopy(SubsettingPolicySummary model)SubsettingPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SubsettingPolicySummary.Builderdescription(String description)The description of the subsetting policySubsettingPolicySummary.BuilderdisplayName(String displayName)The display name of the subsetting policySubsettingPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SubsettingPolicySummary.Builderid(String id)The OCID of the subsetting policySubsettingPolicySummary.BuilderlifecycleState(SubsettingPolicy.LifecycleState lifecycleState)The current state of the subsetting policySubsettingPolicySummary.BuildermaskingPolicyId(String maskingPolicyId)The OCID of the masking policy associated with this subsetting policySubsettingPolicySummary.BuilderschemaSource(SchemaSourceForSummary schemaSource)SubsettingPolicySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SubsettingPolicySummary.BuildertimeCreated(Date timeCreated)The date and time the subsetting policy was created, in the format defined by RFC3339SubsettingPolicySummary.BuildertimeUpdated(Date timeUpdated)The date and time the subsetting policy was last updated, in the format defined by RFC3339
-
-
-
Method Detail
-
id
public SubsettingPolicySummary.Builder id(String id)
The OCID of the subsetting policy- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SubsettingPolicySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the subsetting policy- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public SubsettingPolicySummary.Builder displayName(String displayName)
The display name of the subsetting policy- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public SubsettingPolicySummary.Builder timeCreated(Date timeCreated)
The date and time the subsetting policy was created, in the format defined by RFC3339- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SubsettingPolicySummary.Builder timeUpdated(Date timeUpdated)
The date and time the subsetting policy was last updated, in the format defined by RFC3339- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public SubsettingPolicySummary.Builder lifecycleState(SubsettingPolicy.LifecycleState lifecycleState)
The current state of the subsetting policy- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
description
public SubsettingPolicySummary.Builder description(String description)
The description of the subsetting policy- Parameters:
description- the value to set- Returns:
- this builder
-
schemaSource
public SubsettingPolicySummary.Builder schemaSource(SchemaSourceForSummary schemaSource)
-
maskingPolicyId
public SubsettingPolicySummary.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy associated with this subsetting policy- Parameters:
maskingPolicyId- the value to set- Returns:
- this builder
-
freeformTags
public SubsettingPolicySummary.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 SubsettingPolicySummary.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
-
systemTags
public SubsettingPolicySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public SubsettingPolicySummary build()
-
copy
public SubsettingPolicySummary.Builder copy(SubsettingPolicySummary model)
-
-