Class GovernanceInstance.Builder
- java.lang.Object
- 
- com.oracle.bmc.accessgovernancecp.model.GovernanceInstance.Builder
 
- 
- Enclosing class:
- GovernanceInstance
 
 public static class GovernanceInstance.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GovernanceInstancebuild()GovernanceInstance.BuildercompartmentId(String compartmentId)The OCID of the compartment where the GovernanceInstance resides.GovernanceInstance.Buildercopy(GovernanceInstance model)GovernanceInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.GovernanceInstance.Builderdescription(String description)The description of the GovernanceInstance.GovernanceInstance.BuilderdisplayName(String displayName)The name for the GovernanceInstance.GovernanceInstance.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.GovernanceInstance.Builderid(String id)The unique OCID of the GovernanceInstance.GovernanceInstance.BuilderinstanceUrl(String instanceUrl)The access URL of the GovernanceInstance.GovernanceInstance.BuilderlicenseType(LicenseType licenseType)The licenseType being used.GovernanceInstance.BuilderlifecycleState(InstanceLifecycleState lifecycleState)The current state of the GovernanceInstance.GovernanceInstance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.GovernanceInstance.BuildertenancyNamespace(String tenancyNamespace)The namespace for tenancy object storage.GovernanceInstance.BuildertimeCreated(Date timeCreated)The time the the GovernanceInstance was created in an RFC3339 formatted datetime string.GovernanceInstance.BuildertimeUpdated(Date timeUpdated)The time the GovernanceInstance was updated in an RFC3339 formatted datetime string.
 
- 
- 
- 
Method Detail- 
idpublic GovernanceInstance.Builder id(String id) The unique OCID of the GovernanceInstance.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic GovernanceInstance.Builder displayName(String displayName) The name for the GovernanceInstance.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic GovernanceInstance.Builder compartmentId(String compartmentId) The OCID of the compartment where the GovernanceInstance resides.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic GovernanceInstance.Builder timeCreated(Date timeCreated) The time the the GovernanceInstance was created in an RFC3339 formatted datetime string.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic GovernanceInstance.Builder timeUpdated(Date timeUpdated) The time the GovernanceInstance was updated in an RFC3339 formatted datetime string.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic GovernanceInstance.Builder lifecycleState(InstanceLifecycleState lifecycleState) The current state of the GovernanceInstance.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic GovernanceInstance.Builder description(String description) The description of the GovernanceInstance.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
licenseTypepublic GovernanceInstance.Builder licenseType(LicenseType licenseType) The licenseType being used.- Parameters:
- licenseType- the value to set
- Returns:
- this builder
 
 - 
tenancyNamespacepublic GovernanceInstance.Builder tenancyNamespace(String tenancyNamespace) The namespace for tenancy object storage.- Parameters:
- tenancyNamespace- the value to set
- Returns:
- this builder
 
 - 
instanceUrlpublic GovernanceInstance.Builder instanceUrl(String instanceUrl) The access URL of the GovernanceInstance.- Parameters:
- instanceUrl- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic GovernanceInstance.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic GovernanceInstance.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic GovernanceInstance.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic GovernanceInstance build() 
 - 
copypublic GovernanceInstance.Builder copy(GovernanceInstance model) 
 
- 
 
-