@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class FleetSummary extends ExplicitlySetBmcModel
The summary of the Fleet. A Fleet is the primary collection with which users interact when using Java Management Service.
FleetSummary.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 the FleetSummary.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
FleetSummary.Builder |
Constructor and Description |
---|
FleetSummary(String id,
String displayName,
String description,
String compartmentId,
Integer approximateJreCount,
Integer approximateInstallationCount,
Integer approximateApplicationCount,
Integer approximateManagedInstanceCount,
CustomLog inventoryLog,
CustomLog operationLog,
Boolean isAdvancedFeaturesEnabled,
Date timeCreated,
LifecycleState lifecycleState,
Map<String,Map<String,Object>> definedTags,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and 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 |
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.
|
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","description","compartmentId","approximateJreCount","approximateInstallationCount","approximateApplicationCount","approximateManagedInstanceCount","inventoryLog","operationLog","isAdvancedFeaturesEnabled","timeCreated","lifecycleState","definedTags","freeformTags","systemTags"}) public FleetSummary(String id, String displayName, String description, String compartmentId, Integer approximateJreCount, Integer approximateInstallationCount, Integer approximateApplicationCount, Integer approximateManagedInstanceCount, CustomLog inventoryLog, CustomLog operationLog, Boolean isAdvancedFeaturesEnabled, Date timeCreated, LifecycleState lifecycleState, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags)
public static FleetSummary.Builder builder()
Create a new builder.
public FleetSummary.Builder toBuilder()
public String getDisplayName()
The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
public String getDescription()
The Fleet’s description.
public String getCompartmentId()
The OCID of the compartment of the Fleet.
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 is not taken into account when computing the resource ETag.
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 is not taken into account when computing the resource ETag.
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 is not taken into account when computing the resource ETag.
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 is not taken into account when computing the resource ETag.
public CustomLog getInventoryLog()
public CustomLog getOperationLog()
public Boolean getIsAdvancedFeaturesEnabled()
Whether or not advanced features are enabled in this fleet. By default, this is set to false.
public Date getTimeCreated()
The creation date and time of the Fleet (formatted according to RFC3339).
public LifecycleState getLifecycleState()
The lifecycle state of the Fleet.
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).
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.)
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"}}
public String toString()
toString
in class ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2022. All rights reserved.