Class LinkSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.LinkSummary.Builder
-
- Enclosing class:
- LinkSummary
public static class LinkSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkSummary
build()
LinkSummary.Builder
childTenancyId(String childTenancyId)
OCID of the child tenancy.LinkSummary.Builder
copy(LinkSummary model)
LinkSummary.Builder
id(String id)
OCID of the link.LinkSummary.Builder
lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the link.LinkSummary.Builder
parentTenancyId(String parentTenancyId)
OCID of the parent tenancy.LinkSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.LinkSummary.Builder
timeCreated(Date timeCreated)
Date-time when this link was createdLinkSummary.Builder
timeTerminated(Date timeTerminated)
Date-time when this link was terminated.LinkSummary.Builder
timeUpdated(Date timeUpdated)
Date-time when this link was last updated.
-
-
-
Method Detail
-
id
public LinkSummary.Builder id(String id)
OCID of the link.- Parameters:
id
- the value to set- Returns:
- this builder
-
parentTenancyId
public LinkSummary.Builder parentTenancyId(String parentTenancyId)
OCID of the parent tenancy.- Parameters:
parentTenancyId
- the value to set- Returns:
- this builder
-
childTenancyId
public LinkSummary.Builder childTenancyId(String childTenancyId)
OCID of the child tenancy.- Parameters:
childTenancyId
- the value to set- Returns:
- this builder
-
lifecycleState
public LinkSummary.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the link.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public LinkSummary.Builder timeCreated(Date timeCreated)
Date-time when this link was created- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LinkSummary.Builder timeUpdated(Date timeUpdated)
Date-time when this link was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeTerminated
public LinkSummary.Builder timeTerminated(Date timeTerminated)
Date-time when this link was terminated.- Parameters:
timeTerminated
- the value to set- Returns:
- this builder
-
systemTags
public LinkSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public LinkSummary build()
-
copy
public LinkSummary.Builder copy(LinkSummary model)
-
-