Class ScanJob.Inventory.ScanTarget
-
- All Implemented Interfaces:
public final class ScanJob.Inventory.ScanTargetSpecifies what to scan. Must provide at least one of: deep_scan with file location details, provider_details, or both.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanJob.Inventory.ScanTarget.BuilderA builder for ScanTarget.
public final classScanJob.Inventory.ScanTarget.DeepScanpublic final classScanJob.Inventory.ScanTarget.ProviderDetails
-
Method Summary
Modifier and Type Method Description final Optional<String>assetRegion()region of the discovered asset final Optional<ScanJob.Inventory.ScanTarget.DeepScan>deepScan()final Optional<ScanJob.Inventory.ScanTarget.ProviderDetails>providerDetails()final JsonField<String>_assetRegion()Returns the raw JSON value of assetRegion. final JsonField<ScanJob.Inventory.ScanTarget.DeepScan>_deepScan()Returns the raw JSON value of deepScan. final JsonField<ScanJob.Inventory.ScanTarget.ProviderDetails>_providerDetails()Returns the raw JSON value of providerDetails. final Map<String, JsonValue>_additionalProperties()final ScanJob.Inventory.ScanTarget.BuildertoBuilder()final ScanJob.Inventory.ScanTargetvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanJob.Inventory.ScanTarget.Builderbuilder()Returns a mutable builder for constructing an instance of ScanTarget. -
-
Method Detail
-
assetRegion
final Optional<String> assetRegion()
region of the discovered asset
-
deepScan
final Optional<ScanJob.Inventory.ScanTarget.DeepScan> deepScan()
-
providerDetails
final Optional<ScanJob.Inventory.ScanTarget.ProviderDetails> providerDetails()
-
_assetRegion
final JsonField<String> _assetRegion()
Returns the raw JSON value of assetRegion.
Unlike assetRegion, this method doesn't throw if the JSON field has an unexpected type.
-
_deepScan
final JsonField<ScanJob.Inventory.ScanTarget.DeepScan> _deepScan()
Returns the raw JSON value of deepScan.
Unlike deepScan, this method doesn't throw if the JSON field has an unexpected type.
-
_providerDetails
final JsonField<ScanJob.Inventory.ScanTarget.ProviderDetails> _providerDetails()
Returns the raw JSON value of providerDetails.
Unlike providerDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanJob.Inventory.ScanTarget.Builder toBuilder()
-
validate
final ScanJob.Inventory.ScanTarget validate()
-
builder
final static ScanJob.Inventory.ScanTarget.Builder builder()
Returns a mutable builder for constructing an instance of ScanTarget.
-
-
-
-