Package com.oracle.bmc.streaming.model
Class ConnectHarness.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.ConnectHarness.Builder
-
- Enclosing class:
- ConnectHarness
public static class ConnectHarness.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectHarness
build()
ConnectHarness.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the connect harness.ConnectHarness.Builder
copy(ConnectHarness model)
ConnectHarness.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ConnectHarness.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ConnectHarness.Builder
id(String id)
The OCID of the connect harness.ConnectHarness.Builder
lifecycleState(ConnectHarness.LifecycleState lifecycleState)
The current state of the connect harness.ConnectHarness.Builder
lifecycleStateDetails(String lifecycleStateDetails)
Any additional details about the current state of the connect harness.ConnectHarness.Builder
name(String name)
The name of the connect harness.ConnectHarness.Builder
timeCreated(Date timeCreated)
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format.
-
-
-
Method Detail
-
name
public ConnectHarness.Builder name(String name)
The name of the connect harness.Avoid entering confidential information.
Example: JDBCConnector
- Parameters:
name
- the value to set- Returns:
- this builder
-
id
public ConnectHarness.Builder id(String id)
The OCID of the connect harness.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ConnectHarness.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 ConnectHarness.Builder lifecycleState(ConnectHarness.LifecycleState lifecycleState)
The current state of the connect harness.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public ConnectHarness.Builder lifecycleStateDetails(String lifecycleStateDetails)
Any additional details about the current state of the connect harness.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
timeCreated
public ConnectHarness.Builder timeCreated(Date timeCreated)
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format.Example: 2018-04-20T00:00:07.405Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
freeformTags
public ConnectHarness.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair 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 ConnectHarness.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 ConnectHarness build()
-
copy
public ConnectHarness.Builder copy(ConnectHarness model)
-
-