Package com.oracle.bmc.streaming.model
Class ConnectHarnessSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.ConnectHarnessSummary.Builder
-
- Enclosing class:
- ConnectHarnessSummary
public static class ConnectHarnessSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectHarnessSummary
build()
ConnectHarnessSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the connect harness.ConnectHarnessSummary.Builder
copy(ConnectHarnessSummary model)
ConnectHarnessSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ConnectHarnessSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ConnectHarnessSummary.Builder
id(String id)
The OCID of the connect harness.ConnectHarnessSummary.Builder
lifecycleState(ConnectHarnessSummary.LifecycleState lifecycleState)
The current state of the connect harness.ConnectHarnessSummary.Builder
name(String name)
The name of the connect harness.ConnectHarnessSummary.Builder
timeCreated(Date timeCreated)
The date and time the connect harness was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
name
public ConnectHarnessSummary.Builder name(String name)
The name of the connect harness.Example: TelemetryEvents
- Parameters:
name
- the value to set- Returns:
- this builder
-
id
public ConnectHarnessSummary.Builder id(String id)
The OCID of the connect harness.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ConnectHarnessSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the connect harness.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lifecycleState
public ConnectHarnessSummary.Builder lifecycleState(ConnectHarnessSummary.LifecycleState lifecycleState)
The current state of the connect harness.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ConnectHarnessSummary.Builder timeCreated(Date timeCreated)
The date and time the connect harness was created, expressed in RFC 3339 timestamp format.Example: 2018-04-20T00:00:07.405Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
freeformTags
public ConnectHarnessSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ConnectHarnessSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public ConnectHarnessSummary build()
-
copy
public ConnectHarnessSummary.Builder copy(ConnectHarnessSummary model)
-
-