public static class ServiceConnector.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ServiceConnector |
build() |
ServiceConnector.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the connector.
|
ServiceConnector.Builder |
copy(ServiceConnector model) |
ServiceConnector.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ServiceConnector.Builder |
description(String description)
The description of the resource.
|
ServiceConnector.Builder |
displayName(String displayName)
A user-friendly name.
|
ServiceConnector.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ServiceConnector.Builder |
id(String id)
The OCID
of the connector.
|
ServiceConnector.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the connector.
|
ServiceConnector.Builder |
lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.
|
ServiceConnector.Builder |
source(SourceDetails source) |
ServiceConnector.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
ServiceConnector.Builder |
target(TargetDetails target) |
ServiceConnector.Builder |
tasks(List<TaskDetails> tasks)
The list of tasks.
|
ServiceConnector.Builder |
timeCreated(Date timeCreated)
The date and time when the connector was created.
|
ServiceConnector.Builder |
timeUpdated(Date timeUpdated)
The date and time when the connector was updated.
|
public ServiceConnector.Builder id(String id)
The OCID of the connector.
id
- the value to setpublic ServiceConnector.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
displayName
- the value to setpublic ServiceConnector.Builder description(String description)
The description of the resource. Avoid entering confidential information.
description
- the value to setpublic ServiceConnector.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the connector.
compartmentId
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic ServiceConnector.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the connector.
lifecycleState
- the value to setpublic ServiceConnector.Builder lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail. For example, the message might
provide actionable information for a resource in a FAILED
state.
lifecyleDetails
- the value to setpublic ServiceConnector.Builder source(SourceDetails source)
public ServiceConnector.Builder tasks(List<TaskDetails> tasks)
The list of tasks.
tasks
- the value to setpublic ServiceConnector.Builder target(TargetDetails target)
public 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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}}
systemTags
- the value to setpublic ServiceConnector build()
public ServiceConnector.Builder copy(ServiceConnector model)
Copyright © 2016–2024. All rights reserved.