Class GovernanceInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.accessgovernancecp.model.GovernanceInstance.Builder
-
- Enclosing class:
- GovernanceInstance
public static class GovernanceInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GovernanceInstance
build()
GovernanceInstance.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the GovernanceInstance resides.GovernanceInstance.Builder
copy(GovernanceInstance model)
GovernanceInstance.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.GovernanceInstance.Builder
description(String description)
The description of the GovernanceInstance.GovernanceInstance.Builder
displayName(String displayName)
The name for the GovernanceInstance.GovernanceInstance.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.GovernanceInstance.Builder
id(String id)
The unique OCID of the GovernanceInstance.GovernanceInstance.Builder
instanceUrl(String instanceUrl)
The access URL of the GovernanceInstance.GovernanceInstance.Builder
licenseType(LicenseType licenseType)
The licenseType being used.GovernanceInstance.Builder
lifecycleState(InstanceLifecycleState lifecycleState)
The current state of the GovernanceInstance.GovernanceInstance.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.GovernanceInstance.Builder
tenancyNamespace(String tenancyNamespace)
The namespace for tenancy object storage.GovernanceInstance.Builder
timeCreated(Date timeCreated)
The time the the GovernanceInstance was created in an RFC3339 formatted datetime string.GovernanceInstance.Builder
timeUpdated(Date timeUpdated)
The time the GovernanceInstance was updated in an RFC3339 formatted datetime string.
-
-
-
Method Detail
-
id
public GovernanceInstance.Builder id(String id)
The unique OCID of the GovernanceInstance.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public GovernanceInstance.Builder displayName(String displayName)
The name for the GovernanceInstance.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public GovernanceInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment where the GovernanceInstance resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public GovernanceInstance.Builder lifecycleState(InstanceLifecycleState lifecycleState)
The current state of the GovernanceInstance.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
description
public GovernanceInstance.Builder description(String description)
The description of the GovernanceInstance.- Parameters:
description
- the value to set- Returns:
- this builder
-
licenseType
public GovernanceInstance.Builder licenseType(LicenseType licenseType)
The licenseType being used.- Parameters:
licenseType
- the value to set- Returns:
- this builder
-
tenancyNamespace
public GovernanceInstance.Builder tenancyNamespace(String tenancyNamespace)
The namespace for tenancy object storage.- Parameters:
tenancyNamespace
- the value to set- Returns:
- this builder
-
instanceUrl
public GovernanceInstance.Builder instanceUrl(String instanceUrl)
The access URL of the GovernanceInstance.- Parameters:
instanceUrl
- the value to set- Returns:
- this builder
-
definedTags
public 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
-
freeformTags
public 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
-
systemTags
public 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
-
build
public GovernanceInstance build()
-
copy
public GovernanceInstance.Builder copy(GovernanceInstance model)
-
-