Package com.oracle.bmc.datasafe.model
Class RegistrationPolicySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.RegistrationPolicySummary.Builder
-
- Enclosing class:
- RegistrationPolicySummary
public static class RegistrationPolicySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistrationPolicySummarybuild()RegistrationPolicySummary.BuildercompartmentId(String compartmentId)The OCID for the compartment containing the registration policy.RegistrationPolicySummary.BuilderconnectionOption(PolicyConnectionOption connectionOption)RegistrationPolicySummary.Buildercopy(RegistrationPolicySummary model)RegistrationPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RegistrationPolicySummary.Builderdescription(String description)A description of the registration policy.RegistrationPolicySummary.BuilderdisplayName(String displayName)The display name of the registration policy.RegistrationPolicySummary.BuilderenablementLevel(RegistrationPolicy.EnablementLevel enablementLevel)The type of resource that is opted-in for the registration policy.RegistrationPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.RegistrationPolicySummary.Builderid(String id)The OCID of the registration policy.RegistrationPolicySummary.BuilderlifecycleState(RegistrationPolicy.LifecycleState lifecycleState)The current lifecycle state of the registration policy.RegistrationPolicySummary.BuilderlifecycleStateDetails(String lifecycleStateDetails)Details about the lifecycle state of the registration policy.RegistrationPolicySummary.BuilderresourceId(String resourceId)The OCID of the resource used in the registration policy.RegistrationPolicySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.RegistrationPolicySummary.BuildertimeCreated(Date timeCreated)The date and time when the registration policy was created.RegistrationPolicySummary.BuildertimeUpdated(Date timeUpdated)The date and time when the registration policy was last updated.
-
-
-
Method Detail
-
compartmentId
public RegistrationPolicySummary.Builder compartmentId(String compartmentId)
The OCID for the compartment containing the registration policy.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
id
public RegistrationPolicySummary.Builder id(String id)
The OCID of the registration policy.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public RegistrationPolicySummary.Builder displayName(String displayName)
The display name of the registration policy.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public RegistrationPolicySummary.Builder description(String description)
A description of the registration policy.- Parameters:
description- the value to set- Returns:
- this builder
-
enablementLevel
public RegistrationPolicySummary.Builder enablementLevel(RegistrationPolicy.EnablementLevel enablementLevel)
The type of resource that is opted-in for the registration policy.- Parameters:
enablementLevel- the value to set- Returns:
- this builder
-
resourceId
public RegistrationPolicySummary.Builder resourceId(String resourceId)
The OCID of the resource used in the registration policy.- Parameters:
resourceId- the value to set- Returns:
- this builder
-
lifecycleState
public RegistrationPolicySummary.Builder lifecycleState(RegistrationPolicy.LifecycleState lifecycleState)
The current lifecycle state of the registration policy.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public RegistrationPolicySummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
Details about the lifecycle state of the registration policy.- Parameters:
lifecycleStateDetails- the value to set- Returns:
- this builder
-
timeCreated
public RegistrationPolicySummary.Builder timeCreated(Date timeCreated)
The date and time when the registration policy was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public RegistrationPolicySummary.Builder timeUpdated(Date timeUpdated)
The date and time when the registration policy was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
connectionOption
public RegistrationPolicySummary.Builder connectionOption(PolicyConnectionOption connectionOption)
-
freeformTags
public RegistrationPolicySummary.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 RegistrationPolicySummary.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 RegistrationPolicySummary.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 RegistrationPolicySummary build()
-
copy
public RegistrationPolicySummary.Builder copy(RegistrationPolicySummary model)
-
-