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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OceInstance.Builder
addOnFeatures(List<String> addOnFeatures)
a list of add-on features for the ocm instanceOceInstance.Builder
adminEmail(String adminEmail)
Admin Email for NotificationOceInstance
build()
OceInstance.Builder
compartmentId(String compartmentId)
Compartment IdentifierOceInstance.Builder
copy(OceInstance model)
OceInstance.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.OceInstance.Builder
description(String description)
OceInstance description, can be updatedOceInstance.Builder
drRegion(String drRegion)
disaster recovery paired ragion nameOceInstance.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OceInstance.Builder
guid(String guid)
Unique GUID identifier that is immutable on creationOceInstance.Builder
id(String id)
Unique identifier that is immutable on creationOceInstance.Builder
idcsTenancy(String idcsTenancy)
IDCS Tenancy IdentifierOceInstance.Builder
identityStripe(IdentityStripeDetails identityStripe)
OceInstance.Builder
instanceAccessType(OceInstance.InstanceAccessType instanceAccessType)
Flag indicating whether the instance access is private or publicOceInstance.Builder
instanceLicenseType(LicenseType instanceLicenseType)
Flag indicating whether the instance license is new cloud or bring your own licenseOceInstance.Builder
instanceUsageType(OceInstance.InstanceUsageType instanceUsageType)
Instance type based on its usageOceInstance.Builder
lifecycleDetails(LifecycleDetails lifecycleDetails)
Details of the current state of the instance lifecycleOceInstance.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the instance lifecycle.OceInstance.Builder
name(String name)
OceInstance NameOceInstance.Builder
objectStorageNamespace(String objectStorageNamespace)
Object Storage Namespace of tenancyOceInstance.Builder
service(Map<String,Object> service)
SERVICE data.OceInstance.Builder
stateMessage(String stateMessage)
An message describing the current state in more detail.OceInstance.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.OceInstance.Builder
tenancyId(String tenancyId)
Tenancy IdentifierOceInstance.Builder
tenancyName(String tenancyName)
Tenancy NameOceInstance.Builder
timeCreated(Date timeCreated)
The time the the OceInstance was created.OceInstance.Builder
timeUpdated(Date timeUpdated)
The time the OceInstance was updated.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 versionOceInstance.Builder
wafPrimaryDomain(String wafPrimaryDomain)
Web Application Firewall(WAF) primary domain
-
-
-
Method Detail
-
id
public OceInstance.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
guid
public OceInstance.Builder guid(String guid)
Unique GUID identifier that is immutable on creation- Parameters:
guid
- the value to set- Returns:
- this builder
-
description
public OceInstance.Builder description(String description)
OceInstance description, can be updated- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public OceInstance.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public OceInstance.Builder name(String name)
OceInstance Name- Parameters:
name
- the value to set- Returns:
- this builder
-
tenancyId
public OceInstance.Builder tenancyId(String tenancyId)
Tenancy Identifier- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
idcsTenancy
public OceInstance.Builder idcsTenancy(String idcsTenancy)
IDCS Tenancy Identifier- Parameters:
idcsTenancy
- the value to set- Returns:
- this builder
-
tenancyName
public OceInstance.Builder tenancyName(String tenancyName)
Tenancy Name- Parameters:
tenancyName
- the value to set- Returns:
- this builder
-
upgradeSchedule
public 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
-
identityStripe
public OceInstance.Builder identityStripe(IdentityStripeDetails identityStripe)
-
instanceUsageType
public OceInstance.Builder instanceUsageType(OceInstance.InstanceUsageType instanceUsageType)
Instance type based on its usage- Parameters:
instanceUsageType
- the value to set- Returns:
- this builder
-
addOnFeatures
public 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
-
objectStorageNamespace
public OceInstance.Builder objectStorageNamespace(String objectStorageNamespace)
Object Storage Namespace of tenancy- Parameters:
objectStorageNamespace
- the value to set- Returns:
- this builder
-
adminEmail
public OceInstance.Builder adminEmail(String adminEmail)
Admin Email for Notification- Parameters:
adminEmail
- the value to set- Returns:
- this builder
-
wafPrimaryDomain
public OceInstance.Builder wafPrimaryDomain(String wafPrimaryDomain)
Web Application Firewall(WAF) primary domain- Parameters:
wafPrimaryDomain
- the value to set- Returns:
- this builder
-
instanceAccessType
public 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
-
instanceLicenseType
public 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
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public OceInstance.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the instance lifecycle.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public OceInstance.Builder lifecycleDetails(LifecycleDetails lifecycleDetails)
Details of the current state of the instance lifecycle- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
drRegion
public OceInstance.Builder drRegion(String drRegion)
disaster recovery paired ragion name- Parameters:
drRegion
- the value to set- Returns:
- this builder
-
stateMessage
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
service
public OceInstance.Builder service(Map<String,Object> service)
SERVICE data.Example: {“service”: {“IDCS”: “value”}}
- Parameters:
service
- the value to set- Returns:
- this builder
-
build
public OceInstance build()
-
copy
public OceInstance.Builder copy(OceInstance model)
-
-