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
-
-
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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ScanJob.Inventory.ScanTarget.Builder builder()
Returns a mutable builder for constructing an instance of ScanTarget.
-
-
-
-