Package com.oracle.bmc.cloudbridge.model
Class CreateAwsAssetSourceDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.cloudbridge.model.CreateAssetSourceDetails
- 
- com.oracle.bmc.cloudbridge.model.CreateAwsAssetSourceDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public final class CreateAwsAssetSourceDetails extends CreateAssetSourceDetailsAWS asset source creation request.
 Note: Objects should always be created or deserialized using theCreateAwsAssetSourceDetails.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 theCreateAwsAssetSourceDetails.Builder, which maintain a set of all explicitly set fields calledCreateAwsAssetSourceDetails.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 SummaryNested Classes Modifier and Type Class Description static classCreateAwsAssetSourceDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description CreateAwsAssetSourceDetails(String displayName, String compartmentId, String environmentId, String inventoryId, String assetsCompartmentId, String discoveryScheduleId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, AssetSourceCredentials discoveryCredentials, AssetSourceCredentials replicationCredentials, String awsRegion, String awsAccountKey, Boolean areHistoricalMetricsCollected, Boolean areRealtimeMetricsCollected, Boolean isCostInformationCollected)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAwsAssetSourceDetails.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.StringgetAwsAccountKey()The key of customer’s aws account to be discovered/migrated.StringgetAwsRegion()AWS region information, from where the resources are discovered.AssetSourceCredentialsgetDiscoveryCredentials()BooleangetIsCostInformationCollected()Flag indicating whether cost data collection is enabled for assets, originating from this asset source.AssetSourceCredentialsgetReplicationCredentials()inthashCode()CreateAwsAssetSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.cloudbridge.model.CreateAssetSourceDetailsgetAssetsCompartmentId, getCompartmentId, getDefinedTags, getDiscoveryScheduleId, getDisplayName, getEnvironmentId, getFreeformTags, getInventoryId, getSystemTags
 
- 
 
- 
- 
- 
Constructor Detail- 
CreateAwsAssetSourceDetails@Deprecated public CreateAwsAssetSourceDetails(String displayName, String compartmentId, String environmentId, String inventoryId, String assetsCompartmentId, String discoveryScheduleId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, AssetSourceCredentials discoveryCredentials, AssetSourceCredentials replicationCredentials, String awsRegion, String awsAccountKey, Boolean areHistoricalMetricsCollected, Boolean areRealtimeMetricsCollected, Boolean isCostInformationCollected) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateAwsAssetSourceDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateAwsAssetSourceDetails.Builder toBuilder() 
 - 
getDiscoveryCredentialspublic AssetSourceCredentials getDiscoveryCredentials() 
 - 
getReplicationCredentialspublic AssetSourceCredentials getReplicationCredentials() 
 - 
getAwsRegionpublic String getAwsRegion() AWS region information, from where the resources are discovered.- Returns:
- the value
 
 - 
getAwsAccountKeypublic String getAwsAccountKey() The key of customer’s aws account to be discovered/migrated.- Returns:
- the value
 
 - 
getAreHistoricalMetricsCollectedpublic Boolean getAreHistoricalMetricsCollected() Flag indicating whether historical metrics are collected for assets, originating from this asset source.- Returns:
- the value
 
 - 
getAreRealtimeMetricsCollectedpublic Boolean getAreRealtimeMetricsCollected() Flag indicating whether real-time metrics are collected for assets, originating from this asset source.- Returns:
- the value
 
 - 
getIsCostInformationCollectedpublic Boolean getIsCostInformationCollected() Flag indicating whether cost data collection is enabled for assets, originating from this asset source.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- CreateAssetSourceDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- CreateAssetSourceDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- CreateAssetSourceDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- CreateAssetSourceDetails
 
 
- 
 
-