Class Provision.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.Provision.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Provision
build()
Provision.Builder
compartmentId(String compartmentId)
The OCID of the compartment.Provision.Builder
configCatalogItemDisplayName(String configCatalogItemDisplayName)
A display Name of the Catalog Item in the Catalog.Provision.Builder
configCatalogItemId(String configCatalogItemId)
A OCID of the Catalog Item to a file with key/value pairs to set up variables for createStack API.Provision.Builder
configCatalogItemListingId(String configCatalogItemListingId)
A listing ID of the Catalog Item in the Catalog.Provision.Builder
configCatalogItemListingVersion(String configCatalogItemListingVersion)
A listing version of the Catalog Item in the Catalog.Provision.Builder
copy(Provision model)
Provision.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Provision.Builder
deployedResources(List<DeployedResourceDetails> deployedResources)
The deployed resources and their summaryProvision.Builder
displayName(String displayName)
A user-friendly name.Provision.Builder
fleetId(String fleetId)
The OCID of the Fleet.Provision.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Provision.Builder
id(String id)
The OCID of the FamProvision.Provision.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the FamProvision in more detail.Provision.Builder
lifecycleState(Provision.LifecycleState lifecycleState)
The current state of the FamProvision.Provision.Builder
packageCatalogItemDisplayName(String packageCatalogItemDisplayName)
A display Name of the Catalog Item in the Catalog.Provision.Builder
packageCatalogItemId(String packageCatalogItemId)
The OCID of the Catalog Item.Provision.Builder
packageCatalogItemListingId(String packageCatalogItemListingId)
A listing ID of the Catalog Item in the Catalog.Provision.Builder
packageCatalogItemListingVersion(String packageCatalogItemListingVersion)
A listing version of the Catalog Item in the Catalog.Provision.Builder
provisionDescription(String provisionDescription)
A description of the provision.Provision.Builder
rmsApplyJobId(String rmsApplyJobId)
The OCID of the RMS APPLY Job.Provision.Builder
stackId(String stackId)
The OCID of the RMS Stack.Provision.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Provision.Builder
tfOutputs(List<JobExecutionDetails> tfOutputs)
Outputs from the Terraform Apply jobProvision.Builder
tfVariableCompartmentId(String tfVariableCompartmentId)
An optional variable added to a list of RMS variables for createStack API.Provision.Builder
tfVariableCurrentUserId(String tfVariableCurrentUserId)
An optional variable added to a list of RMS variables for createStack API.Provision.Builder
tfVariableRegionId(String tfVariableRegionId)
A mandatory variable added to a list of RMS variables for createStack API.Provision.Builder
tfVariableTenancyId(String tfVariableTenancyId)
A mandatory variable added to a list of RMS variables for createStack API.Provision.Builder
timeCreated(Date timeCreated)
The date and time the FamProvision was created, in the format defined by RFC 3339.Provision.Builder
timeUpdated(Date timeUpdated)
The date and time the FamProvision was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public Provision.Builder id(String id)
The OCID of the FamProvision.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Provision.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
provisionDescription
public Provision.Builder provisionDescription(String provisionDescription)
A description of the provision.- Parameters:
provisionDescription
- the value to set- Returns:
- this builder
-
tfVariableTenancyId
public Provision.Builder tfVariableTenancyId(String tfVariableTenancyId)
A mandatory variable added to a list of RMS variables for createStack API.Overrides the one supplied in configuration file.
- Parameters:
tfVariableTenancyId
- the value to set- Returns:
- this builder
-
tfVariableRegionId
public Provision.Builder tfVariableRegionId(String tfVariableRegionId)
A mandatory variable added to a list of RMS variables for createStack API.Overrides the one supplied in configuration file.
- Parameters:
tfVariableRegionId
- the value to set- Returns:
- this builder
-
tfVariableCurrentUserId
public Provision.Builder tfVariableCurrentUserId(String tfVariableCurrentUserId)
An optional variable added to a list of RMS variables for createStack API.Overrides the one supplied in configuration file.
- Parameters:
tfVariableCurrentUserId
- the value to set- Returns:
- this builder
-
tfVariableCompartmentId
public Provision.Builder tfVariableCompartmentId(String tfVariableCompartmentId)
An optional variable added to a list of RMS variables for createStack API.Overrides the one supplied in configuration file.
- Parameters:
tfVariableCompartmentId
- the value to set- Returns:
- this builder
-
compartmentId
public Provision.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public Provision.Builder timeCreated(Date timeCreated)
The date and time the FamProvision was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Provision.Builder timeUpdated(Date timeUpdated)
The date and time the FamProvision was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public Provision.Builder lifecycleState(Provision.LifecycleState lifecycleState)
The current state of the FamProvision.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Provision.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the FamProvision in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
packageCatalogItemId
public Provision.Builder packageCatalogItemId(String packageCatalogItemId)
The OCID of the Catalog Item.- Parameters:
packageCatalogItemId
- the value to set- Returns:
- this builder
-
configCatalogItemId
public Provision.Builder configCatalogItemId(String configCatalogItemId)
A OCID of the Catalog Item to a file with key/value pairs to set up variables for createStack API.- Parameters:
configCatalogItemId
- the value to set- Returns:
- this builder
-
packageCatalogItemDisplayName
public Provision.Builder packageCatalogItemDisplayName(String packageCatalogItemDisplayName)
A display Name of the Catalog Item in the Catalog.- Parameters:
packageCatalogItemDisplayName
- the value to set- Returns:
- this builder
-
packageCatalogItemListingId
public Provision.Builder packageCatalogItemListingId(String packageCatalogItemListingId)
A listing ID of the Catalog Item in the Catalog.- Parameters:
packageCatalogItemListingId
- the value to set- Returns:
- this builder
-
packageCatalogItemListingVersion
public Provision.Builder packageCatalogItemListingVersion(String packageCatalogItemListingVersion)
A listing version of the Catalog Item in the Catalog.- Parameters:
packageCatalogItemListingVersion
- the value to set- Returns:
- this builder
-
configCatalogItemDisplayName
public Provision.Builder configCatalogItemDisplayName(String configCatalogItemDisplayName)
A display Name of the Catalog Item in the Catalog.- Parameters:
configCatalogItemDisplayName
- the value to set- Returns:
- this builder
-
configCatalogItemListingId
public Provision.Builder configCatalogItemListingId(String configCatalogItemListingId)
A listing ID of the Catalog Item in the Catalog.- Parameters:
configCatalogItemListingId
- the value to set- Returns:
- this builder
-
configCatalogItemListingVersion
public Provision.Builder configCatalogItemListingVersion(String configCatalogItemListingVersion)
A listing version of the Catalog Item in the Catalog.- Parameters:
configCatalogItemListingVersion
- the value to set- Returns:
- this builder
-
stackId
public Provision.Builder stackId(String stackId)
The OCID of the RMS Stack.- Parameters:
stackId
- the value to set- Returns:
- this builder
-
fleetId
public Provision.Builder fleetId(String fleetId)
The OCID of the Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
rmsApplyJobId
public Provision.Builder rmsApplyJobId(String rmsApplyJobId)
The OCID of the RMS APPLY Job.- Parameters:
rmsApplyJobId
- the value to set- Returns:
- this builder
-
tfOutputs
public Provision.Builder tfOutputs(List<JobExecutionDetails> tfOutputs)
Outputs from the Terraform Apply job- Parameters:
tfOutputs
- the value to set- Returns:
- this builder
-
deployedResources
public Provision.Builder deployedResources(List<DeployedResourceDetails> deployedResources)
The deployed resources and their summary- Parameters:
deployedResources
- the value to set- Returns:
- this builder
-
freeformTags
public Provision.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 Provision.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 Provision.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public Provision build()
-
copy
public Provision.Builder copy(Provision model)
-
-