Class OlvmAssetSource
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.AssetSource
-
- com.oracle.bmc.cloudmigrations.model.OlvmAssetSource
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmAssetSource extends AssetSourceOLVM asset source.Used for discovery of clusters and storage domains registered in the OLVM environment.
Note: Objects should always be created or deserialized using theOlvmAssetSource.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 theOlvmAssetSource.Builder, which maintain a set of all explicitly set fields calledOlvmAssetSource.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 classOlvmAssetSource.Builder
-
Constructor Summary
Constructors Constructor Description OlvmAssetSource(String id, String compartmentId, String displayName, String environmentId, String inventoryId, String assetsCompartmentId, String discoveryScheduleId, AssetSourceLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, EnvironmentType environmentType, String olvmEndpoint, AssetSourceCredentials discoveryCredentials, AssetSourceCredentials replicationCredentials, Boolean areHistoricalMetricsCollected, Boolean areRealtimeMetricsCollected)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmAssetSource.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetAreHistoricalMetricsCollected()Flag indicating whether historical metrics are collected for assets, originating from this asset source.BooleangetAreRealtimeMetricsCollected()Flag indicating whether real-time metrics are collected for assets, originating from this asset source.AssetSourceCredentialsgetDiscoveryCredentials()StringgetOlvmEndpoint()Endpoint for OLVM asset discovery and replication in the form of https://: AssetSourceCredentialsgetReplicationCredentials()inthashCode()OlvmAssetSource.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.cloudmigrations.model.AssetSource
getAssetsCompartmentId, getCompartmentId, getDefinedTags, getDiscoveryScheduleId, getDisplayName, getEnvironmentId, getEnvironmentType, getFreeformTags, getId, getInventoryId, getLifecycleDetails, getLifecycleState, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
OlvmAssetSource
@Deprecated public OlvmAssetSource(String id, String compartmentId, String displayName, String environmentId, String inventoryId, String assetsCompartmentId, String discoveryScheduleId, AssetSourceLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, EnvironmentType environmentType, String olvmEndpoint, AssetSourceCredentials discoveryCredentials, AssetSourceCredentials replicationCredentials, Boolean areHistoricalMetricsCollected, Boolean areRealtimeMetricsCollected)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmAssetSource.Builder builder()
Create a new builder.
-
toBuilder
public OlvmAssetSource.Builder toBuilder()
-
getOlvmEndpoint
public String getOlvmEndpoint()
Endpoint for OLVM asset discovery and replication in the form of https://: - Returns:
- the value
-
getDiscoveryCredentials
public AssetSourceCredentials getDiscoveryCredentials()
-
getReplicationCredentials
public AssetSourceCredentials getReplicationCredentials()
-
getAreHistoricalMetricsCollected
public Boolean getAreHistoricalMetricsCollected()
Flag indicating whether historical metrics are collected for assets, originating from this asset source.- Returns:
- the value
-
getAreRealtimeMetricsCollected
public Boolean getAreRealtimeMetricsCollected()
Flag indicating whether real-time metrics are collected for assets, originating from this asset source.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classAssetSource
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classAssetSource- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAssetSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAssetSource
-
-