Class ScanJob.Inventory.Builder
-
- All Implemented Interfaces:
public final class ScanJob.Inventory.BuilderA builder for Inventory.
-
-
Method Summary
-
-
Method Detail
-
modelName
final ScanJob.Inventory.Builder modelName(String modelName)
Name of the model
-
modelName
final ScanJob.Inventory.Builder modelName(JsonField<String> modelName)
Sets Builder.modelName to an arbitrary JSON value.
You should usually call Builder.modelName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelVersion
final ScanJob.Inventory.Builder modelVersion(String modelVersion)
If you do not provide a version, one will be generated for you.
-
modelVersion
final ScanJob.Inventory.Builder modelVersion(JsonField<String> modelVersion)
Sets Builder.modelVersion to an arbitrary JSON value.
You should usually call Builder.modelVersion with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
requestedScanLocation
final ScanJob.Inventory.Builder requestedScanLocation(String requestedScanLocation)
Location to be scanned
-
requestedScanLocation
final ScanJob.Inventory.Builder requestedScanLocation(JsonField<String> requestedScanLocation)
Sets Builder.requestedScanLocation to an arbitrary JSON value.
You should usually call Builder.requestedScanLocation with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
requestingEntity
final ScanJob.Inventory.Builder requestingEntity(String requestingEntity)
Entity that requested the scan
-
requestingEntity
final ScanJob.Inventory.Builder requestingEntity(JsonField<String> requestingEntity)
Sets Builder.requestingEntity to an arbitrary JSON value.
You should usually call Builder.requestingEntity with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
origin
final ScanJob.Inventory.Builder origin(String origin)
Specifies the platform or service where the model originated before being scanned
-
origin
final ScanJob.Inventory.Builder origin(JsonField<String> origin)
Sets Builder.origin to an arbitrary JSON value.
You should usually call Builder.origin with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
requestSource
final ScanJob.Inventory.Builder requestSource(ScanJob.Inventory.RequestSource requestSource)
Identifies the system that requested the scan
-
requestSource
final ScanJob.Inventory.Builder requestSource(JsonField<ScanJob.Inventory.RequestSource> requestSource)
Sets Builder.requestSource to an arbitrary JSON value.
You should usually call Builder.requestSource with a well-typed RequestSource value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ScanJob.Inventory.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScanJob.Inventory.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScanJob.Inventory.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScanJob.Inventory.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScanJob.Inventory.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScanJob.Inventory build()
Returns an immutable instance of Inventory.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.modelName() .modelVersion() .requestedScanLocation() .requestingEntity()
-
-
-
-