Package com.oracle.bmc.sch.model
Class ServiceConnectorSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.sch.model.ServiceConnectorSummary.Builder
-
- Enclosing class:
- ServiceConnectorSummary
public static class ServiceConnectorSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceConnectorSummary
build()
ServiceConnectorSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the connector.ServiceConnectorSummary.Builder
copy(ServiceConnectorSummary model)
ServiceConnectorSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ServiceConnectorSummary.Builder
description(String description)
The description of the resource.ServiceConnectorSummary.Builder
displayName(String displayName)
A user-friendly name.ServiceConnectorSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ServiceConnectorSummary.Builder
id(String id)
The OCID of the connector.ServiceConnectorSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.ServiceConnectorSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the connector.ServiceConnectorSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.ServiceConnectorSummary.Builder
timeCreated(Date timeCreated)
The date and time when the connector was created.ServiceConnectorSummary.Builder
timeUpdated(Date timeUpdated)
The date and time when the connector was updated.
-
-
-
Method Detail
-
id
public ServiceConnectorSummary.Builder id(String id)
The OCID of the connector.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ServiceConnectorSummary.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
-
description
public ServiceConnectorSummary.Builder description(String description)
The description of the resource.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public ServiceConnectorSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the connector.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public ServiceConnectorSummary.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
-
timeUpdated
public ServiceConnectorSummary.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
-
lifecycleState
public ServiceConnectorSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the connector.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ServiceConnectorSummary.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
-
freeformTags
public ServiceConnectorSummary.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 ServiceConnectorSummary.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
-
systemTags
public ServiceConnectorSummary.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
-
build
public ServiceConnectorSummary build()
-
copy
public ServiceConnectorSummary.Builder copy(ServiceConnectorSummary model)
-
-