Package com.oracle.bmc.oce.model
Class OceInstance.Builder
- java.lang.Object
- 
- com.oracle.bmc.oce.model.OceInstance.Builder
 
- 
- Enclosing class:
- OceInstance
 
 public static class OceInstance.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OceInstance.BuilderaddOnFeatures(List<String> addOnFeatures)a list of add-on features for the ocm instanceOceInstance.BuilderadminEmail(String adminEmail)Admin Email for NotificationOceInstancebuild()OceInstance.BuildercompartmentId(String compartmentId)Compartment IdentifierOceInstance.Buildercopy(OceInstance model)OceInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.OceInstance.Builderdescription(String description)OceInstance description, can be updatedOceInstance.BuilderdrRegion(String drRegion)disaster recovery paired ragion nameOceInstance.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OceInstance.Builderguid(String guid)Unique GUID identifier that is immutable on creationOceInstance.Builderid(String id)Unique identifier that is immutable on creationOceInstance.BuilderidcsTenancy(String idcsTenancy)IDCS Tenancy IdentifierOceInstance.BuilderidentityStripe(IdentityStripeDetails identityStripe)OceInstance.BuilderinstanceAccessType(OceInstance.InstanceAccessType instanceAccessType)Flag indicating whether the instance access is private or publicOceInstance.BuilderinstanceLicenseType(LicenseType instanceLicenseType)Flag indicating whether the instance license is new cloud or bring your own licenseOceInstance.BuilderinstanceUsageType(OceInstance.InstanceUsageType instanceUsageType)Instance type based on its usageOceInstance.BuilderlifecycleDetails(LifecycleDetails lifecycleDetails)Details of the current state of the instance lifecycleOceInstance.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the instance lifecycle.OceInstance.Buildername(String name)OceInstance NameOceInstance.BuilderobjectStorageNamespace(String objectStorageNamespace)Object Storage Namespace of tenancyOceInstance.Builderservice(Map<String,Object> service)SERVICE data.OceInstance.BuilderstateMessage(String stateMessage)An message describing the current state in more detail.OceInstance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.OceInstance.BuildertenancyId(String tenancyId)Tenancy IdentifierOceInstance.BuildertenancyName(String tenancyName)Tenancy NameOceInstance.BuildertimeCreated(Date timeCreated)The time the the OceInstance was created.OceInstance.BuildertimeUpdated(Date timeUpdated)The time the OceInstance was updated.OceInstance.BuilderupgradeSchedule(OceInstance.UpgradeSchedule upgradeSchedule)Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released versionOceInstance.BuilderwafPrimaryDomain(String wafPrimaryDomain)Web Application Firewall(WAF) primary domain
 
- 
- 
- 
Method Detail- 
idpublic OceInstance.Builder id(String id) Unique identifier that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
guidpublic OceInstance.Builder guid(String guid) Unique GUID identifier that is immutable on creation- Parameters:
- guid- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic OceInstance.Builder description(String description) OceInstance description, can be updated- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OceInstance.Builder compartmentId(String compartmentId) Compartment Identifier- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
namepublic OceInstance.Builder name(String name) OceInstance Name- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
tenancyIdpublic OceInstance.Builder tenancyId(String tenancyId) Tenancy Identifier- Parameters:
- tenancyId- the value to set
- Returns:
- this builder
 
 - 
idcsTenancypublic OceInstance.Builder idcsTenancy(String idcsTenancy) IDCS Tenancy Identifier- Parameters:
- idcsTenancy- the value to set
- Returns:
- this builder
 
 - 
tenancyNamepublic OceInstance.Builder tenancyName(String tenancyName) Tenancy Name- Parameters:
- tenancyName- the value to set
- Returns:
- this builder
 
 - 
upgradeSchedulepublic OceInstance.Builder upgradeSchedule(OceInstance.UpgradeSchedule upgradeSchedule) Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released version- Parameters:
- upgradeSchedule- the value to set
- Returns:
- this builder
 
 - 
identityStripepublic OceInstance.Builder identityStripe(IdentityStripeDetails identityStripe) 
 - 
instanceUsageTypepublic OceInstance.Builder instanceUsageType(OceInstance.InstanceUsageType instanceUsageType) Instance type based on its usage- Parameters:
- instanceUsageType- the value to set
- Returns:
- this builder
 
 - 
addOnFeaturespublic OceInstance.Builder addOnFeatures(List<String> addOnFeatures) a list of add-on features for the ocm instance- Parameters:
- addOnFeatures- the value to set
- Returns:
- this builder
 
 - 
objectStorageNamespacepublic OceInstance.Builder objectStorageNamespace(String objectStorageNamespace) Object Storage Namespace of tenancy- Parameters:
- objectStorageNamespace- the value to set
- Returns:
- this builder
 
 - 
adminEmailpublic OceInstance.Builder adminEmail(String adminEmail) Admin Email for Notification- Parameters:
- adminEmail- the value to set
- Returns:
- this builder
 
 - 
wafPrimaryDomainpublic OceInstance.Builder wafPrimaryDomain(String wafPrimaryDomain) Web Application Firewall(WAF) primary domain- Parameters:
- wafPrimaryDomain- the value to set
- Returns:
- this builder
 
 - 
instanceAccessTypepublic OceInstance.Builder instanceAccessType(OceInstance.InstanceAccessType instanceAccessType) Flag indicating whether the instance access is private or public- Parameters:
- instanceAccessType- the value to set
- Returns:
- this builder
 
 - 
instanceLicenseTypepublic OceInstance.Builder instanceLicenseType(LicenseType instanceLicenseType) Flag indicating whether the instance license is new cloud or bring your own license- Parameters:
- instanceLicenseType- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic OceInstance.Builder timeCreated(Date timeCreated) The time the the OceInstance was created.An RFC3339 formatted datetime string - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic OceInstance.Builder timeUpdated(Date timeUpdated) The time the OceInstance was updated.An RFC3339 formatted datetime string - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic OceInstance.Builder lifecycleState(LifecycleState lifecycleState) The current state of the instance lifecycle.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic OceInstance.Builder lifecycleDetails(LifecycleDetails lifecycleDetails) Details of the current state of the instance lifecycle- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
drRegionpublic OceInstance.Builder drRegion(String drRegion) disaster recovery paired ragion name- Parameters:
- drRegion- the value to set
- Returns:
- this builder
 
 - 
stateMessagepublic OceInstance.Builder stateMessage(String stateMessage) An message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Parameters:
- stateMessage- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic OceInstance.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
 
 - 
definedTagspublic OceInstance.Builder definedTags(Map<String,Map<String,Object>> definedTags) Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic OceInstance.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
 
 - 
servicepublic OceInstance.Builder service(Map<String,Object> service) SERVICE data.Example: {“service”: {“IDCS”: “value”}} - Parameters:
- service- the value to set
- Returns:
- this builder
 
 - 
buildpublic OceInstance build() 
 - 
copypublic OceInstance.Builder copy(OceInstance model) 
 
- 
 
-