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 Provisionbuild()Provision.BuildercompartmentId(String compartmentId)The OCID of the compartment.Provision.BuilderconfigCatalogItemDisplayName(String configCatalogItemDisplayName)A display Name of the Catalog Item in the Catalog.Provision.BuilderconfigCatalogItemId(String configCatalogItemId)A OCID of the Catalog Item to a file with key/value pairs to set up variables for createStack API.Provision.BuilderconfigCatalogItemListingId(String configCatalogItemListingId)A listing ID of the Catalog Item in the Catalog.Provision.BuilderconfigCatalogItemListingVersion(String configCatalogItemListingVersion)A listing version of the Catalog Item in the Catalog.Provision.Buildercopy(Provision model)Provision.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Provision.BuilderdeployedResources(List<DeployedResourceDetails> deployedResources)The deployed resources and their summaryProvision.BuilderdisplayName(String displayName)A user-friendly name.Provision.BuilderfleetId(String fleetId)The OCID of the Fleet.Provision.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Provision.Builderid(String id)The OCID of the FamProvision.Provision.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the FamProvision in more detail.Provision.BuilderlifecycleState(Provision.LifecycleState lifecycleState)The current state of the FamProvision.Provision.BuilderpackageCatalogItemDisplayName(String packageCatalogItemDisplayName)A display Name of the Catalog Item in the Catalog.Provision.BuilderpackageCatalogItemId(String packageCatalogItemId)The OCID of the Catalog Item.Provision.BuilderpackageCatalogItemListingId(String packageCatalogItemListingId)A listing ID of the Catalog Item in the Catalog.Provision.BuilderpackageCatalogItemListingVersion(String packageCatalogItemListingVersion)A listing version of the Catalog Item in the Catalog.Provision.BuilderprovisionDescription(String provisionDescription)A description of the provision.Provision.BuilderrmsApplyJobId(String rmsApplyJobId)The OCID of the RMS APPLY Job.Provision.BuilderstackId(String stackId)The OCID of the RMS Stack.Provision.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Provision.BuildertfOutputs(List<JobExecutionDetails> tfOutputs)Outputs from the Terraform Apply jobProvision.BuildertfVariableCompartmentId(String tfVariableCompartmentId)An optional variable added to a list of RMS variables for createStack API.Provision.BuildertfVariableCurrentUserId(String tfVariableCurrentUserId)An optional variable added to a list of RMS variables for createStack API.Provision.BuildertfVariableRegionId(String tfVariableRegionId)A mandatory variable added to a list of RMS variables for createStack API.Provision.BuildertfVariableTenancyId(String tfVariableTenancyId)A mandatory variable added to a list of RMS variables for createStack API.Provision.BuildertimeCreated(Date timeCreated)The date and time the FamProvision was created, in the format defined by RFC 3339.Provision.BuildertimeUpdated(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)
-
-