Class FleetSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.FleetSummary.Builder
-
- Enclosing class:
- FleetSummary
public static class FleetSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FleetSummary.BuilderapproximateApplicationCount(Integer approximateApplicationCount)The approximate count of all unique applications in the Fleet in the past seven days.FleetSummary.BuilderapproximateInstallationCount(Integer approximateInstallationCount)The approximate count of all unique Java Installations in the Fleet in the past seven days.FleetSummary.BuilderapproximateJavaServerCount(Integer approximateJavaServerCount)The approximate count of all unique Java servers in the Fleet in the past seven days.FleetSummary.BuilderapproximateJreCount(Integer approximateJreCount)The approximate count of all unique Java Runtimes in the Fleet in the past seven days.FleetSummary.BuilderapproximateLibraryCount(Integer approximateLibraryCount)The approximate count of all unique libraries in the Fleet in the past seven days.FleetSummary.BuilderapproximateLibraryVulnerabilityCount(Integer approximateLibraryVulnerabilityCount)The approximate count of all unique library vulnerabilities in the Fleet in the past seven days.FleetSummary.BuilderapproximateManagedInstanceCount(Integer approximateManagedInstanceCount)The approximate count of all unique managed instances in the Fleet in the past seven days.FleetSummarybuild()FleetSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment of the Fleet.FleetSummary.Buildercopy(FleetSummary model)FleetSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.FleetSummary.Builderdescription(String description)The Fleet’s description.FleetSummary.BuilderdisplayName(String displayName)The name of the Fleet.FleetSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.FleetSummary.Builderid(String id)The OCID of the Fleet.FleetSummary.BuilderinventoryLog(CustomLog inventoryLog)FleetSummary.BuilderisAdvancedFeaturesEnabled(Boolean isAdvancedFeaturesEnabled)Whether or not advanced features are enabled in this Fleet.FleetSummary.BuilderisExportSettingEnabled(Boolean isExportSettingEnabled)Whether or not export setting is enabled in this Fleet.FleetSummary.BuilderlifecycleState(LifecycleState lifecycleState)The lifecycle state of the Fleet.FleetSummary.BuilderoperationLog(CustomLog operationLog)FleetSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.FleetSummary.BuildertimeCreated(Date timeCreated)The creation date and time of the Fleet (formatted according to RFC3339).
-
-
-
Method Detail
-
id
public FleetSummary.Builder id(String id)
The OCID of the Fleet.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public FleetSummary.Builder displayName(String displayName)
The name of the Fleet.The displayName must be unique for Fleets in the same compartment.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public FleetSummary.Builder description(String description)
The Fleet’s description.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public FleetSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment of the Fleet.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
approximateJreCount
public FleetSummary.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
-
approximateInstallationCount
public FleetSummary.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
-
approximateApplicationCount
public FleetSummary.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
-
approximateManagedInstanceCount
public FleetSummary.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
-
approximateJavaServerCount
public FleetSummary.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
-
approximateLibraryCount
public FleetSummary.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
-
approximateLibraryVulnerabilityCount
public FleetSummary.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
-
inventoryLog
public FleetSummary.Builder inventoryLog(CustomLog inventoryLog)
-
operationLog
public FleetSummary.Builder operationLog(CustomLog operationLog)
-
isAdvancedFeaturesEnabled
public FleetSummary.Builder isAdvancedFeaturesEnabled(Boolean isAdvancedFeaturesEnabled)
Whether or not advanced features are enabled in this Fleet.This flag is true if any one of the advanced features is turned on.
- Parameters:
isAdvancedFeaturesEnabled- the value to set- Returns:
- this builder
-
isExportSettingEnabled
public FleetSummary.Builder isExportSettingEnabled(Boolean isExportSettingEnabled)
Whether or not export setting is enabled in this Fleet.- Parameters:
isExportSettingEnabled- the value to set- Returns:
- this builder
-
timeCreated
public FleetSummary.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
-
lifecycleState
public FleetSummary.Builder lifecycleState(LifecycleState lifecycleState)
The lifecycle state of the Fleet.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
definedTags
public FleetSummary.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
-
freeformTags
public FleetSummary.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
-
systemTags
public FleetSummary.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
-
build
public FleetSummary build()
-
copy
public FleetSummary.Builder copy(FleetSummary model)
-
-