Class LinkWithTenancyNames.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.LinkWithTenancyNames.Builder
-
- Enclosing class:
- LinkWithTenancyNames
public static class LinkWithTenancyNames.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
parentTenancyName
public LinkWithTenancyNames.Builder parentTenancyName(String parentTenancyName)
Name of the parent tenancy.- Parameters:
parentTenancyName- the value to set- Returns:
- this builder
-
childTenancyName
public LinkWithTenancyNames.Builder childTenancyName(String childTenancyName)
Name of the child tenancy.- Parameters:
childTenancyName- the value to set- Returns:
- this builder
-
id
public LinkWithTenancyNames.Builder id(String id)
OCID of the link.- Parameters:
id- the value to set- Returns:
- this builder
-
parentTenancyId
public LinkWithTenancyNames.Builder parentTenancyId(String parentTenancyId)
OCID of the parent tenancy.- Parameters:
parentTenancyId- the value to set- Returns:
- this builder
-
childTenancyId
public LinkWithTenancyNames.Builder childTenancyId(String childTenancyId)
OCID of the child tenancy.- Parameters:
childTenancyId- the value to set- Returns:
- this builder
-
lifecycleState
public LinkWithTenancyNames.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the link.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public LinkWithTenancyNames.Builder timeCreated(Date timeCreated)
Date-time when this link was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public LinkWithTenancyNames.Builder timeUpdated(Date timeUpdated)
Date-time when this link was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeTerminated
public LinkWithTenancyNames.Builder timeTerminated(Date timeTerminated)
Date-time when this link was terminated.- Parameters:
timeTerminated- the value to set- Returns:
- this builder
-
feature
public LinkWithTenancyNames.Builder feature(String feature)
The feature associated with this link.Default value is CORE.
- Parameters:
feature- the value to set- Returns:
- this builder
-
build
public LinkWithTenancyNames build()
-
copy
public LinkWithTenancyNames.Builder copy(LinkWithTenancyNames model)
-
-