Class FleetSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.FleetSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class FleetSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of the Fleet.A Fleet is the primary collection with which users interact when using Java Management Service.
Note: Objects should always be created or deserialized using theFleetSummary.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 theFleetSummary.Builder
, which maintain a set of all explicitly set fields calledFleetSummary.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 Summary
Nested Classes Modifier and Type Class Description static class
FleetSummary.Builder
-
Constructor Summary
Constructors Constructor Description FleetSummary(String id, String displayName, String description, String compartmentId, Integer approximateJreCount, Integer approximateInstallationCount, Integer approximateApplicationCount, Integer approximateManagedInstanceCount, Integer approximateJavaServerCount, 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getApproximateApplicationCount()
The approximate count of all unique applications in the Fleet in the past seven days.Integer
getApproximateInstallationCount()
The approximate count of all unique Java Installations in the Fleet in the past seven days.Integer
getApproximateJavaServerCount()
The approximate count of all unique Java servers in the Fleet in the past seven days.Integer
getApproximateJreCount()
The approximate count of all unique Java Runtimes in the Fleet in the past seven days.Integer
getApproximateManagedInstanceCount()
The approximate count of all unique managed instances in the Fleet in the past seven days.String
getCompartmentId()
The OCID of the compartment of the Fleet.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
The Fleet’s description.String
getDisplayName()
The name of the Fleet.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type, or scope.String
getId()
The OCID of the Fleet.CustomLog
getInventoryLog()
Boolean
getIsAdvancedFeaturesEnabled()
Whether or not advanced features are enabled in this Fleet.Boolean
getIsExportSettingEnabled()
Whether or not export setting is enabled in this Fleet.LifecycleState
getLifecycleState()
The lifecycle state of the Fleet.CustomLog
getOperationLog()
Map<String,Map<String,Object>>
getSystemTags()
System tags for this resource.Date
getTimeCreated()
The creation date and time of the Fleet (formatted according to RFC3339).int
hashCode()
FleetSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
FleetSummary
@Deprecated @ConstructorProperties({"id","displayName","description","compartmentId","approximateJreCount","approximateInstallationCount","approximateApplicationCount","approximateManagedInstanceCount","approximateJavaServerCount","inventoryLog","operationLog","isAdvancedFeaturesEnabled","isExportSettingEnabled","timeCreated","lifecycleState","definedTags","freeformTags","systemTags"}) public FleetSummary(String id, String displayName, String description, String compartmentId, Integer approximateJreCount, Integer approximateInstallationCount, Integer approximateApplicationCount, Integer approximateManagedInstanceCount, Integer approximateJavaServerCount, 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
-
builder
public static FleetSummary.Builder builder()
Create a new builder.
-
toBuilder
public FleetSummary.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The name of the Fleet.The displayName must be unique for Fleets in the same compartment.
- Returns:
- the value
-
getDescription
public String getDescription()
The Fleet’s description.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment of the Fleet.- Returns:
- the value
-
getApproximateJreCount
public 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
-
getApproximateInstallationCount
public 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
-
getApproximateApplicationCount
public 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
-
getApproximateManagedInstanceCount
public 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
-
getApproximateJavaServerCount
public 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
-
getInventoryLog
public CustomLog getInventoryLog()
-
getOperationLog
public CustomLog getOperationLog()
-
getIsAdvancedFeaturesEnabled
public Boolean getIsAdvancedFeaturesEnabled()
Whether or not advanced features are enabled in this Fleet.This flag is true if any one of the advanced features is turned on.
- Returns:
- the value
-
getIsExportSettingEnabled
public Boolean getIsExportSettingEnabled()
Whether or not export setting is enabled in this Fleet.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The creation date and time of the Fleet (formatted according to RFC3339).- Returns:
- the value
-
getLifecycleState
public LifecycleState getLifecycleState()
The lifecycle state of the Fleet.- Returns:
- the value
-
getDefinedTags
public 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
-
getFreeformTags
public 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
-
getSystemTags
public 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
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-