@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class Fleet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A Fleet is the primary collection with which users interact when using Java Management Service.
Note: Objects should always be created or deserialized using the Fleet.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 Fleet.Builder
, which maintain a
set of all explicitly set fields called Fleet.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
Fleet.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Fleet(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.
|
Modifier and Type | Method and Description |
---|---|
static Fleet.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() |
Fleet.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","approximateJavaServerCount","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, 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)
public static Fleet.Builder builder()
Create a new builder.
public Fleet.Builder toBuilder()
public String getDisplayName()
The name of the Fleet.
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 isn’t 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 isn’t 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 isn’t 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 isn’t taken into account when computing the resource ETag.
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.
public CustomLog getInventoryLog()
public CustomLog getOperationLog()
public Boolean getIsAdvancedFeaturesEnabled()
Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration
API instead.
public Boolean getIsExportSettingEnabled()
Whether or not export setting is enabled in this Fleet.
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 com.oracle.bmc.http.client.internal.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 com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.