Class ServiceConnector.Builder
- java.lang.Object
- 
- com.oracle.bmc.sch.model.ServiceConnector.Builder
 
- 
- Enclosing class:
- ServiceConnector
 
 public static class ServiceConnector.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceConnectorbuild()ServiceConnector.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the connector.ServiceConnector.Buildercopy(ServiceConnector model)ServiceConnector.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ServiceConnector.Builderdescription(String description)The description of the resource.ServiceConnector.BuilderdisplayName(String displayName)A user-friendly name.ServiceConnector.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ServiceConnector.Builderid(String id)The OCID of the connector.ServiceConnector.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.ServiceConnector.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the connector.ServiceConnector.BuilderlifecyleDetails(String lifecyleDetails)*Please note this property is deprecated and will be removed on January 27, 2026.ServiceConnector.Buildersource(SourceDetailsResponse source)ServiceConnector.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.ServiceConnector.Buildertarget(TargetDetailsResponse target)ServiceConnector.Buildertasks(List<TaskDetailsResponse> tasks)The list of tasks.ServiceConnector.BuildertimeCreated(Date timeCreated)The date and time when the connector was created.ServiceConnector.BuildertimeUpdated(Date timeUpdated)The date and time when the connector was updated.
 
- 
- 
- 
Method Detail- 
idpublic ServiceConnector.Builder id(String id) The OCID of the connector.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ServiceConnector.Builder displayName(String displayName) A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ServiceConnector.Builder description(String description) The description of the resource.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ServiceConnector.Builder compartmentId(String compartmentId) The OCID of the compartment containing the connector.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ServiceConnector.Builder timeCreated(Date timeCreated) The date and time when the connector was created.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ServiceConnector.Builder timeUpdated(Date timeUpdated) The date and time when the connector was updated.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ServiceConnector.Builder lifecycleState(LifecycleState lifecycleState) The current state of the connector.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ServiceConnector.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, the message might provide actionable information for a resource in a FAILED state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecyleDetailspublic ServiceConnector.Builder lifecyleDetails(String lifecyleDetails) *Please note this property is deprecated and will be removed on January 27, 2026.Use lifecycleDetails instead.* A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state. - Parameters:
- lifecyleDetails- the value to set
- Returns:
- this builder
 
 - 
sourcepublic ServiceConnector.Builder source(SourceDetailsResponse source) 
 - 
taskspublic ServiceConnector.Builder tasks(List<TaskDetailsResponse> tasks) The list of tasks.- Parameters:
- tasks- the value to set
- Returns:
- this builder
 
 - 
targetpublic ServiceConnector.Builder target(TargetDetailsResponse target) 
 - 
freeformTagspublic ServiceConnector.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 ServiceConnector.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
 
 - 
systemTagspublic ServiceConnector.Builder systemTags(Map<String,Map<String,Object>> systemTags) The system tags associated with this resource, if any.The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ServiceConnector build() 
 - 
copypublic ServiceConnector.Builder copy(ServiceConnector model) 
 
- 
 
-