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