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.BuilderalternateCustomEndpoints(List<CustomEndpointDetails> alternateCustomEndpoints)A list of alternate custom endpoints used for the integration instance URL.IntegrationInstance.Builderattachments(List<AttachmentDetails> attachments)A list of associated attachments to other servicesIntegrationInstancebuild()IntegrationInstance.BuildercompartmentId(String compartmentId)Compartment Identifier.IntegrationInstance.BuilderconsumptionModel(IntegrationInstance.ConsumptionModel consumptionModel)The entitlement used for billing purposes.IntegrationInstance.Buildercopy(IntegrationInstance model)IntegrationInstance.BuildercustomEndpoint(CustomEndpointDetails customEndpoint)IntegrationInstance.BuilderdataRetentionPeriod(IntegrationInstance.DataRetentionPeriod dataRetentionPeriod)Data retention period set for given integration instanceIntegrationInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.IntegrationInstance.BuilderdisasterRecoveryDetails(DisasterRecoveryDetails disasterRecoveryDetails)IntegrationInstance.BuilderdisplayName(String displayName)Integration Instance Identifier, can be renamed.IntegrationInstance.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.IntegrationInstance.Builderid(String id)Unique identifier that is immutable on creation.IntegrationInstance.BuilderidcsInfo(IdcsInfoDetails idcsInfo)IntegrationInstance.BuilderinstanceDesignTimeUrl(String instanceDesignTimeUrl)The Integration Instance Design Time URLIntegrationInstance.BuilderinstanceUrl(String instanceUrl)The Integration Instance URL.IntegrationInstance.BuilderintegrationInstanceType(IntegrationInstance.IntegrationInstanceType integrationInstanceType)Standard or Enterprise type, Oracle Integration Generation 2 uses ENTERPRISE and STANDARD, Oracle Integration 3 uses ENTERPRISEX, STANDARDX and HEALTHCAREIntegrationInstance.BuilderisByol(Boolean isByol)Bring your own license.IntegrationInstance.BuilderisDisasterRecoveryEnabled(Boolean isDisasterRecoveryEnabled)Is Disaster Recovery enabled for the integrationInstanceIntegrationInstance.BuilderisFileServerEnabled(Boolean isFileServerEnabled)The file server is enabled or not.IntegrationInstance.BuilderisVisualBuilderEnabled(Boolean isVisualBuilderEnabled)VisualBuilder is enabled or not.IntegrationInstance.BuilderlifecycleDetails(String lifecycleDetails)Additional details of lifecycleState or substatesIntegrationInstance.BuilderlifecycleState(IntegrationInstance.LifecycleState lifecycleState)The current state of the integration instance.IntegrationInstance.BuildermessagePacks(Integer messagePacks)The number of configured message packs (if any)IntegrationInstance.BuildernetworkEndpointDetails(NetworkEndpointDetails networkEndpointDetails)IntegrationInstance.BuilderprivateEndpointOutboundConnection(OutboundConnection privateEndpointOutboundConnection)IntegrationInstance.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes for this resource.IntegrationInstance.Buildershape(IntegrationInstance.Shape shape)ShapeIntegrationInstance.BuilderstateMessage(String stateMessage)An message describing the current state in more detail.IntegrationInstance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.IntegrationInstance.BuildertimeCreated(Date timeCreated)The time the the IntegrationInstance was created.IntegrationInstance.BuildertimeUpdated(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, STANDARDX and HEALTHCARE- 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
-
securityAttributes
public IntegrationInstance.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}
- Parameters:
securityAttributes- 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)
-
-