Class Fleet.Builder
- java.lang.Object
- 
- com.oracle.bmc.jms.model.Fleet.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Fleet.BuilderapproximateApplicationCount(Integer approximateApplicationCount)The approximate count of all unique applications in the Fleet in the past seven days.Fleet.BuilderapproximateInstallationCount(Integer approximateInstallationCount)The approximate count of all unique Java installations in the Fleet in the past seven days.Fleet.BuilderapproximateJavaServerCount(Integer approximateJavaServerCount)The approximate count of all unique Java servers in the Fleet in the past seven days.Fleet.BuilderapproximateJreCount(Integer approximateJreCount)The approximate count of all unique Java Runtimes in the Fleet in the past seven days.Fleet.BuilderapproximateLibraryCount(Integer approximateLibraryCount)The approximate count of all unique libraries in the Fleet in the past seven days.Fleet.BuilderapproximateLibraryVulnerabilityCount(Integer approximateLibraryVulnerabilityCount)The approximate count of all unique library vulnerabilities in the Fleet in the past seven days.Fleet.BuilderapproximateManagedInstanceCount(Integer approximateManagedInstanceCount)The approximate count of all unique managed instances in the Fleet in the past seven days.Fleetbuild()Fleet.BuildercompartmentId(String compartmentId)The OCID of the compartment of the Fleet.Fleet.Buildercopy(Fleet model)Fleet.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Fleet.Builderdescription(String description)The Fleet’s description.Fleet.BuilderdisplayName(String displayName)The name of the Fleet.Fleet.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.Fleet.Builderid(String id)The OCID of the Fleet.Fleet.BuilderinventoryLog(CustomLog inventoryLog)Fleet.BuilderisAdvancedFeaturesEnabled(Boolean isAdvancedFeaturesEnabled)Whether or not advanced features are enabled in this Fleet.Fleet.BuilderisExportSettingEnabled(Boolean isExportSettingEnabled)Whether or not export setting is enabled in this Fleet.Fleet.BuilderlifecycleState(LifecycleState lifecycleState)The lifecycle state of the Fleet.Fleet.BuilderoperationLog(CustomLog operationLog)Fleet.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Fleet.BuildertimeCreated(Date timeCreated)The creation date and time of the Fleet (formatted according to RFC3339).
 
- 
- 
- 
Method Detail- 
idpublic Fleet.Builder id(String id) The OCID of the Fleet.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Fleet.Builder displayName(String displayName) The name of the Fleet.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Fleet.Builder description(String description) The Fleet’s description.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Fleet.Builder compartmentId(String compartmentId) The OCID of the compartment of the Fleet.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
approximateJreCountpublic Fleet.Builder approximateJreCount(Integer approximateJreCount) The approximate count of all unique Java Runtimes in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateJreCount- the value to set
- Returns:
- this builder
 
 - 
approximateInstallationCountpublic Fleet.Builder approximateInstallationCount(Integer approximateInstallationCount) The approximate count of all unique Java installations in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateInstallationCount- the value to set
- Returns:
- this builder
 
 - 
approximateApplicationCountpublic Fleet.Builder approximateApplicationCount(Integer approximateApplicationCount) The approximate count of all unique applications in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateApplicationCount- the value to set
- Returns:
- this builder
 
 - 
approximateManagedInstanceCountpublic Fleet.Builder approximateManagedInstanceCount(Integer approximateManagedInstanceCount) The approximate count of all unique managed instances in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateManagedInstanceCount- the value to set
- Returns:
- this builder
 
 - 
approximateJavaServerCountpublic Fleet.Builder approximateJavaServerCount(Integer approximateJavaServerCount) The approximate count of all unique Java servers in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateJavaServerCount- the value to set
- Returns:
- this builder
 
 - 
approximateLibraryCountpublic Fleet.Builder approximateLibraryCount(Integer approximateLibraryCount) The approximate count of all unique libraries in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateLibraryCount- the value to set
- Returns:
- this builder
 
 - 
approximateLibraryVulnerabilityCountpublic Fleet.Builder approximateLibraryVulnerabilityCount(Integer approximateLibraryVulnerabilityCount) The approximate count of all unique library vulnerabilities in the Fleet in the past seven days.This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag. - Parameters:
- approximateLibraryVulnerabilityCount- the value to set
- Returns:
- this builder
 
 - 
inventoryLogpublic Fleet.Builder inventoryLog(CustomLog inventoryLog) 
 - 
operationLogpublic Fleet.Builder operationLog(CustomLog operationLog) 
 - 
isAdvancedFeaturesEnabledpublic Fleet.Builder isAdvancedFeaturesEnabled(Boolean isAdvancedFeaturesEnabled) Whether or not advanced features are enabled in this Fleet.Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead. - Parameters:
- isAdvancedFeaturesEnabled- the value to set
- Returns:
- this builder
 
 - 
isExportSettingEnabledpublic Fleet.Builder isExportSettingEnabled(Boolean isExportSettingEnabled) Whether or not export setting is enabled in this Fleet.- Parameters:
- isExportSettingEnabled- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Fleet.Builder timeCreated(Date timeCreated) The creation date and time of the Fleet (formatted according to RFC3339).- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Fleet.Builder lifecycleState(LifecycleState lifecycleState) The lifecycle state of the Fleet.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Fleet.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”}}. (See Understanding Free-form Tags). - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Fleet.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”}. (See Managing Tags and Tag Namespaces.) - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Fleet.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Fleet build() 
 - 
copypublic Fleet.Builder copy(Fleet model) 
 
- 
 
-