Package com.oracle.bmc.cloudbridge.model
Class UpdateAwsAssetSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudbridge.model.UpdateAssetSourceDetails
-
- com.oracle.bmc.cloudbridge.model.UpdateAwsAssetSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public final class UpdateAwsAssetSourceDetails extends UpdateAssetSourceDetails
AWS asset source update request.
Note: Objects should always be created or deserialized using theUpdateAwsAssetSourceDetails.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 theUpdateAwsAssetSourceDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateAwsAssetSourceDetails.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
UpdateAwsAssetSourceDetails.Builder
-
Constructor Summary
Constructors Constructor Description UpdateAwsAssetSourceDetails(String displayName, String assetsCompartmentId, String discoveryScheduleId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, AssetSourceCredentials discoveryCredentials, AssetSourceCredentials replicationCredentials, Boolean areHistoricalMetricsCollected, Boolean areRealtimeMetricsCollected, Boolean isCostInformationCollected)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAwsAssetSourceDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getAreHistoricalMetricsCollected()
Flag indicating whether historical metrics are collected for assets, originating from this asset source.Boolean
getAreRealtimeMetricsCollected()
Flag indicating whether real-time metrics are collected for assets, originating from this asset source.AssetSourceCredentials
getDiscoveryCredentials()
Boolean
getIsCostInformationCollected()
Flag indicating whether cost data collection is enabled for assets, originating from this asset source.AssetSourceCredentials
getReplicationCredentials()
int
hashCode()
UpdateAwsAssetSourceDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.cloudbridge.model.UpdateAssetSourceDetails
getAssetsCompartmentId, getDefinedTags, getDiscoveryScheduleId, getDisplayName, getFreeformTags, getSystemTags
-
-
-
-
Constructor Detail
-
UpdateAwsAssetSourceDetails
@Deprecated public UpdateAwsAssetSourceDetails(String displayName, String assetsCompartmentId, String discoveryScheduleId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, AssetSourceCredentials discoveryCredentials, AssetSourceCredentials replicationCredentials, Boolean areHistoricalMetricsCollected, Boolean areRealtimeMetricsCollected, Boolean isCostInformationCollected)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateAwsAssetSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateAwsAssetSourceDetails.Builder toBuilder()
-
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
-
getIsCostInformationCollected
public Boolean getIsCostInformationCollected()
Flag indicating whether cost data collection is enabled for assets, originating from this asset source.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classUpdateAssetSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUpdateAssetSourceDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUpdateAssetSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUpdateAssetSourceDetails
-
-