Package com.oracle.bmc.integration.model
Class IntegrationInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.integration.model.IntegrationInstance.Builder
-
- Enclosing class:
- IntegrationInstance
public static class IntegrationInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationInstance.Builder
alternateCustomEndpoints(List<CustomEndpointDetails> alternateCustomEndpoints)
A list of alternate custom endpoints used for the integration instance URL.IntegrationInstance.Builder
attachments(List<AttachmentDetails> attachments)
A list of associated attachments to other servicesIntegrationInstance
build()
IntegrationInstance.Builder
compartmentId(String compartmentId)
Compartment Identifier.IntegrationInstance.Builder
consumptionModel(IntegrationInstance.ConsumptionModel consumptionModel)
The entitlement used for billing purposes.IntegrationInstance.Builder
copy(IntegrationInstance model)
IntegrationInstance.Builder
customEndpoint(CustomEndpointDetails customEndpoint)
IntegrationInstance.Builder
dataRetentionPeriod(IntegrationInstance.DataRetentionPeriod dataRetentionPeriod)
Data retention period set for given integration instanceIntegrationInstance.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.IntegrationInstance.Builder
disasterRecoveryDetails(DisasterRecoveryDetails disasterRecoveryDetails)
IntegrationInstance.Builder
displayName(String displayName)
Integration Instance Identifier, can be renamed.IntegrationInstance.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.IntegrationInstance.Builder
id(String id)
Unique identifier that is immutable on creation.IntegrationInstance.Builder
idcsInfo(IdcsInfoDetails idcsInfo)
IntegrationInstance.Builder
instanceDesignTimeUrl(String instanceDesignTimeUrl)
The Integration Instance Design Time URLIntegrationInstance.Builder
instanceUrl(String instanceUrl)
The Integration Instance URL.IntegrationInstance.Builder
integrationInstanceType(IntegrationInstance.IntegrationInstanceType integrationInstanceType)
Standard or Enterprise type, Oracle Integration Generation 2 uses ENTERPRISE and STANDARD, Oracle Integration 3 uses ENTERPRISEX and STANDARDXIntegrationInstance.Builder
isByol(Boolean isByol)
Bring your own license.IntegrationInstance.Builder
isDisasterRecoveryEnabled(Boolean isDisasterRecoveryEnabled)
Is Disaster Recovery enabled for the integrationInstanceIntegrationInstance.Builder
isFileServerEnabled(Boolean isFileServerEnabled)
The file server is enabled or not.IntegrationInstance.Builder
isVisualBuilderEnabled(Boolean isVisualBuilderEnabled)
VisualBuilder is enabled or not.IntegrationInstance.Builder
lifecycleDetails(String lifecycleDetails)
Additional details of lifecycleState or substatesIntegrationInstance.Builder
lifecycleState(IntegrationInstance.LifecycleState lifecycleState)
The current state of the integration instance.IntegrationInstance.Builder
messagePacks(Integer messagePacks)
The number of configured message packs (if any)IntegrationInstance.Builder
networkEndpointDetails(NetworkEndpointDetails networkEndpointDetails)
IntegrationInstance.Builder
privateEndpointOutboundConnection(OutboundConnection privateEndpointOutboundConnection)
IntegrationInstance.Builder
shape(IntegrationInstance.Shape shape)
ShapeIntegrationInstance.Builder
stateMessage(String stateMessage)
An message describing the current state in more detail.IntegrationInstance.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.IntegrationInstance.Builder
timeCreated(Date timeCreated)
The time the the IntegrationInstance was created.IntegrationInstance.Builder
timeUpdated(Date timeUpdated)
The time the IntegrationInstance was updated.
-
-
-
Method Detail
-
id
public IntegrationInstance.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public IntegrationInstance.Builder displayName(String displayName)
Integration Instance Identifier, can be renamed.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public IntegrationInstance.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
integrationInstanceType
public IntegrationInstance.Builder integrationInstanceType(IntegrationInstance.IntegrationInstanceType integrationInstanceType)
Standard or Enterprise type, Oracle Integration Generation 2 uses ENTERPRISE and STANDARD, Oracle Integration 3 uses ENTERPRISEX and STANDARDX- Parameters:
integrationInstanceType
- the value to set- Returns:
- this builder
-
timeCreated
public IntegrationInstance.Builder timeCreated(Date timeCreated)
The time the the IntegrationInstance was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public IntegrationInstance.Builder timeUpdated(Date timeUpdated)
The time the IntegrationInstance was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public IntegrationInstance.Builder lifecycleState(IntegrationInstance.LifecycleState lifecycleState)
The current state of the integration instance.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public IntegrationInstance.Builder lifecycleDetails(String lifecycleDetails)
Additional details of lifecycleState or substates- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
stateMessage
public IntegrationInstance.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 IntegrationInstance.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 IntegrationInstance.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 IntegrationInstance.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
-
isByol
public IntegrationInstance.Builder isByol(Boolean isByol)
Bring your own license.- Parameters:
isByol
- the value to set- Returns:
- this builder
-
instanceUrl
public IntegrationInstance.Builder instanceUrl(String instanceUrl)
The Integration Instance URL.- Parameters:
instanceUrl
- the value to set- Returns:
- this builder
-
instanceDesignTimeUrl
public IntegrationInstance.Builder instanceDesignTimeUrl(String instanceDesignTimeUrl)
The Integration Instance Design Time URL- Parameters:
instanceDesignTimeUrl
- the value to set- Returns:
- this builder
-
messagePacks
public IntegrationInstance.Builder messagePacks(Integer messagePacks)
The number of configured message packs (if any)- Parameters:
messagePacks
- the value to set- Returns:
- this builder
-
isFileServerEnabled
public IntegrationInstance.Builder isFileServerEnabled(Boolean isFileServerEnabled)
The file server is enabled or not.- Parameters:
isFileServerEnabled
- the value to set- Returns:
- this builder
-
isVisualBuilderEnabled
public IntegrationInstance.Builder isVisualBuilderEnabled(Boolean isVisualBuilderEnabled)
VisualBuilder is enabled or not.- Parameters:
isVisualBuilderEnabled
- the value to set- Returns:
- this builder
-
customEndpoint
public IntegrationInstance.Builder customEndpoint(CustomEndpointDetails customEndpoint)
-
alternateCustomEndpoints
public IntegrationInstance.Builder alternateCustomEndpoints(List<CustomEndpointDetails> alternateCustomEndpoints)
A list of alternate custom endpoints used for the integration instance URL.- Parameters:
alternateCustomEndpoints
- the value to set- Returns:
- this builder
-
consumptionModel
public IntegrationInstance.Builder consumptionModel(IntegrationInstance.ConsumptionModel consumptionModel)
The entitlement used for billing purposes.- Parameters:
consumptionModel
- the value to set- Returns:
- this builder
-
networkEndpointDetails
public IntegrationInstance.Builder networkEndpointDetails(NetworkEndpointDetails networkEndpointDetails)
-
idcsInfo
public IntegrationInstance.Builder idcsInfo(IdcsInfoDetails idcsInfo)
-
attachments
public IntegrationInstance.Builder attachments(List<AttachmentDetails> attachments)
A list of associated attachments to other services- Parameters:
attachments
- the value to set- Returns:
- this builder
-
shape
public IntegrationInstance.Builder shape(IntegrationInstance.Shape shape)
Shape- Parameters:
shape
- the value to set- Returns:
- this builder
-
privateEndpointOutboundConnection
public IntegrationInstance.Builder privateEndpointOutboundConnection(OutboundConnection privateEndpointOutboundConnection)
-
isDisasterRecoveryEnabled
public IntegrationInstance.Builder isDisasterRecoveryEnabled(Boolean isDisasterRecoveryEnabled)
Is Disaster Recovery enabled for the integrationInstance- Parameters:
isDisasterRecoveryEnabled
- the value to set- Returns:
- this builder
-
disasterRecoveryDetails
public IntegrationInstance.Builder disasterRecoveryDetails(DisasterRecoveryDetails disasterRecoveryDetails)
-
dataRetentionPeriod
public IntegrationInstance.Builder dataRetentionPeriod(IntegrationInstance.DataRetentionPeriod dataRetentionPeriod)
Data retention period set for given integration instance- Parameters:
dataRetentionPeriod
- the value to set- Returns:
- this builder
-
build
public IntegrationInstance build()
-
copy
public IntegrationInstance.Builder copy(IntegrationInstance model)
-
-