Package com.oracle.bmc.vbsinst.model
Class VbsInstanceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.vbsinst.model.VbsInstanceSummary.Builder
-
- Enclosing class:
- VbsInstanceSummary
public static class VbsInstanceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VbsInstanceSummarybuild()VbsInstanceSummary.BuildercompartmentId(String compartmentId)Compartment of the service instanceVbsInstanceSummary.Buildercopy(VbsInstanceSummary model)VbsInstanceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.VbsInstanceSummary.BuilderdisplayName(String displayName)Service instance display nameVbsInstanceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.VbsInstanceSummary.Builderid(String id)Unique identifier that is immutable on creationVbsInstanceSummary.BuilderisResourceUsageAgreementGranted(Boolean isResourceUsageAgreementGranted)Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancyVbsInstanceSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.VbsInstanceSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the VbsInstance.VbsInstanceSummary.Buildername(String name)Service instance name (unique identifier)VbsInstanceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.VbsInstanceSummary.BuildertimeCreated(Date timeCreated)The time the the VbsInstance was created.VbsInstanceSummary.BuildertimeUpdated(Date timeUpdated)The time the VbsInstance was updated.
-
-
-
Method Detail
-
id
public VbsInstanceSummary.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id- the value to set- Returns:
- this builder
-
name
public VbsInstanceSummary.Builder name(String name)
Service instance name (unique identifier)- Parameters:
name- the value to set- Returns:
- this builder
-
displayName
public VbsInstanceSummary.Builder displayName(String displayName)
Service instance display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public VbsInstanceSummary.Builder compartmentId(String compartmentId)
Compartment of the service instance- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isResourceUsageAgreementGranted
public VbsInstanceSummary.Builder isResourceUsageAgreementGranted(Boolean isResourceUsageAgreementGranted)
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy- Parameters:
isResourceUsageAgreementGranted- the value to set- Returns:
- this builder
-
timeCreated
public VbsInstanceSummary.Builder timeCreated(Date timeCreated)
The time the the VbsInstance was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public VbsInstanceSummary.Builder timeUpdated(Date timeUpdated)
The time the VbsInstance was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public VbsInstanceSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the VbsInstance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public VbsInstanceSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public VbsInstanceSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public VbsInstanceSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public VbsInstanceSummary.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 VbsInstanceSummary build()
-
copy
public VbsInstanceSummary.Builder copy(VbsInstanceSummary model)
-
-