Class Fleet
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.jms.model.Fleet
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class Fleet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA Fleet is the primary collection with which users interact when using Java Management Service.
 Note: Objects should always be created or deserialized using theFleet.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theFleet.Builder, which maintain a set of all explicitly set fields calledFleet.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classFleet.Builder
 - 
Constructor SummaryConstructors Constructor Description Fleet(String id, String displayName, String description, String compartmentId, Integer approximateJreCount, Integer approximateInstallationCount, Integer approximateApplicationCount, Integer approximateManagedInstanceCount, Integer approximateJavaServerCount, Integer approximateLibraryCount, Integer approximateLibraryVulnerabilityCount, CustomLog inventoryLog, CustomLog operationLog, Boolean isAdvancedFeaturesEnabled, Boolean isExportSettingEnabled, Date timeCreated, LifecycleState lifecycleState, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Fleet.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetApproximateApplicationCount()The approximate count of all unique applications in the Fleet in the past seven days.IntegergetApproximateInstallationCount()The approximate count of all unique Java installations in the Fleet in the past seven days.IntegergetApproximateJavaServerCount()The approximate count of all unique Java servers in the Fleet in the past seven days.IntegergetApproximateJreCount()The approximate count of all unique Java Runtimes in the Fleet in the past seven days.IntegergetApproximateLibraryCount()The approximate count of all unique libraries in the Fleet in the past seven days.IntegergetApproximateLibraryVulnerabilityCount()The approximate count of all unique library vulnerabilities in the Fleet in the past seven days.IntegergetApproximateManagedInstanceCount()The approximate count of all unique managed instances in the Fleet in the past seven days.StringgetCompartmentId()The OCID of the compartment of the Fleet.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()The Fleet’s description.StringgetDisplayName()The name of the Fleet.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type, or scope.StringgetId()The OCID of the Fleet.CustomLoggetInventoryLog()BooleangetIsAdvancedFeaturesEnabled()Whether or not advanced features are enabled in this Fleet.BooleangetIsExportSettingEnabled()Whether or not export setting is enabled in this Fleet.LifecycleStategetLifecycleState()The lifecycle state of the Fleet.CustomLoggetOperationLog()Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The creation date and time of the Fleet (formatted according to RFC3339).inthashCode()Fleet.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Fleet@Deprecated @ConstructorProperties({"id","displayName","description","compartmentId","approximateJreCount","approximateInstallationCount","approximateApplicationCount","approximateManagedInstanceCount","approximateJavaServerCount","approximateLibraryCount","approximateLibraryVulnerabilityCount","inventoryLog","operationLog","isAdvancedFeaturesEnabled","isExportSettingEnabled","timeCreated","lifecycleState","definedTags","freeformTags","systemTags"}) public Fleet(String id, String displayName, String description, String compartmentId, Integer approximateJreCount, Integer approximateInstallationCount, Integer approximateApplicationCount, Integer approximateManagedInstanceCount, Integer approximateJavaServerCount, Integer approximateLibraryCount, Integer approximateLibraryVulnerabilityCount, CustomLog inventoryLog, CustomLog operationLog, Boolean isAdvancedFeaturesEnabled, Boolean isExportSettingEnabled, Date timeCreated, LifecycleState lifecycleState, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Fleet.Builder builder() Create a new builder.
 - 
toBuilderpublic Fleet.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() The name of the Fleet.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() The Fleet’s description.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment of the Fleet.- Returns:
- the value
 
 - 
getApproximateJreCountpublic Integer getApproximateJreCount() 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. - Returns:
- the value
 
 - 
getApproximateInstallationCountpublic Integer getApproximateInstallationCount() 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. - Returns:
- the value
 
 - 
getApproximateApplicationCountpublic Integer getApproximateApplicationCount() 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. - Returns:
- the value
 
 - 
getApproximateManagedInstanceCountpublic Integer getApproximateManagedInstanceCount() 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. - Returns:
- the value
 
 - 
getApproximateJavaServerCountpublic Integer getApproximateJavaServerCount() 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. - Returns:
- the value
 
 - 
getApproximateLibraryCountpublic Integer getApproximateLibraryCount() 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. - Returns:
- the value
 
 - 
getApproximateLibraryVulnerabilityCountpublic Integer getApproximateLibraryVulnerabilityCount() 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. - Returns:
- the value
 
 - 
getInventoryLogpublic CustomLog getInventoryLog() 
 - 
getOperationLogpublic CustomLog getOperationLog() 
 - 
getIsAdvancedFeaturesEnabledpublic Boolean getIsAdvancedFeaturesEnabled() Whether or not advanced features are enabled in this Fleet.Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead. - Returns:
- the value
 
 - 
getIsExportSettingEnabledpublic Boolean getIsExportSettingEnabled() Whether or not export setting is enabled in this Fleet.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The creation date and time of the Fleet (formatted according to RFC3339).- Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The lifecycle state of the Fleet.- Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() 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). - Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() 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.) - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() 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"}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-