Class Link.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.Link.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Link
build()
Link.Builder
childTenancyId(String childTenancyId)
OCID of the child tenancy.Link.Builder
copy(Link model)
Link.Builder
id(String id)
OCID of the link.Link.Builder
lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the link.Link.Builder
parentTenancyId(String parentTenancyId)
OCID of the parent tenancy.Link.Builder
timeCreated(Date timeCreated)
Date-time when this link was created.Link.Builder
timeTerminated(Date timeTerminated)
Date-time when this link was terminated.Link.Builder
timeUpdated(Date timeUpdated)
Date-time when this link was last updated.
-
-
-
Method Detail
-
id
public Link.Builder id(String id)
OCID of the link.- Parameters:
id
- the value to set- Returns:
- this builder
-
parentTenancyId
public Link.Builder parentTenancyId(String parentTenancyId)
OCID of the parent tenancy.- Parameters:
parentTenancyId
- the value to set- Returns:
- this builder
-
childTenancyId
public Link.Builder childTenancyId(String childTenancyId)
OCID of the child tenancy.- Parameters:
childTenancyId
- the value to set- Returns:
- this builder
-
lifecycleState
public Link.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the link.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public Link.Builder timeCreated(Date timeCreated)
Date-time when this link was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Link.Builder timeUpdated(Date timeUpdated)
Date-time when this link was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeTerminated
public Link.Builder timeTerminated(Date timeTerminated)
Date-time when this link was terminated.- Parameters:
timeTerminated
- the value to set- Returns:
- this builder
-
build
public Link build()
-
copy
public Link.Builder copy(Link model)
-
-