Package com.oracle.bmc.vbsinst.model
Class VbsInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.vbsinst.model.VbsInstance.Builder
-
- Enclosing class:
- VbsInstance
public static class VbsInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VbsInstancebuild()VbsInstance.BuildercompartmentId(String compartmentId)Compartment of the service instanceVbsInstance.Buildercopy(VbsInstance model)VbsInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.VbsInstance.BuilderdisplayName(String displayName)Service instance display nameVbsInstance.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.VbsInstance.Builderid(String id)Unique identifier that is immutable on creationVbsInstance.BuilderisResourceUsageAgreementGranted(Boolean isResourceUsageAgreementGranted)Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancyVbsInstance.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the VbsInstance.VbsInstance.BuilderlifecyleDetails(String lifecyleDetails)A message describing the current state in more detail.VbsInstance.Buildername(String name)Service instance name (unique identifier)VbsInstance.BuilderresourceCompartmentId(String resourceCompartmentId)Compartment where VBS may create additional resources for the service instanceVbsInstance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.VbsInstance.BuildertimeCreated(Date timeCreated)The time the the VbsInstance was created.VbsInstance.BuildertimeUpdated(Date timeUpdated)The time the VbsInstance was updated.VbsInstance.BuildervbsAccessUrl(String vbsAccessUrl)Public web URL for accessing the VBS service instance
-
-
-
Method Detail
-
id
public VbsInstance.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id- the value to set- Returns:
- this builder
-
name
public VbsInstance.Builder name(String name)
Service instance name (unique identifier)- Parameters:
name- the value to set- Returns:
- this builder
-
displayName
public VbsInstance.Builder displayName(String displayName)
Service instance display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public VbsInstance.Builder compartmentId(String compartmentId)
Compartment of the service instance- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isResourceUsageAgreementGranted
public VbsInstance.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
-
resourceCompartmentId
public VbsInstance.Builder resourceCompartmentId(String resourceCompartmentId)
Compartment where VBS may create additional resources for the service instance- Parameters:
resourceCompartmentId- the value to set- Returns:
- this builder
-
vbsAccessUrl
public VbsInstance.Builder vbsAccessUrl(String vbsAccessUrl)
Public web URL for accessing the VBS service instance- Parameters:
vbsAccessUrl- the value to set- Returns:
- this builder
-
timeCreated
public VbsInstance.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 VbsInstance.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 VbsInstance.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the VbsInstance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecyleDetails
public VbsInstance.Builder lifecyleDetails(String lifecyleDetails)
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:
lifecyleDetails- the value to set- Returns:
- this builder
-
freeformTags
public VbsInstance.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 VbsInstance.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 VbsInstance.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 VbsInstance build()
-
copy
public VbsInstance.Builder copy(VbsInstance model)
-
-