Class ScanReport.Intelligence.Builder
-
- All Implemented Interfaces:
public final class ScanReport.Intelligence.BuilderA builder for Intelligence.
-
-
Method Summary
-
-
Method Detail
-
contributorTrustLevel
final ScanReport.Intelligence.Builder contributorTrustLevel(String contributorTrustLevel)
Trust level of the model contributor
-
contributorTrustLevel
final ScanReport.Intelligence.Builder contributorTrustLevel(JsonField<String> contributorTrustLevel)
Sets Builder.contributorTrustLevel to an arbitrary JSON value.
You should usually call Builder.contributorTrustLevel with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
countryOfOrigin
final ScanReport.Intelligence.Builder countryOfOrigin(String countryOfOrigin)
ISO 3166-1 alpha-2 country code of the model's primary origin
-
countryOfOrigin
final ScanReport.Intelligence.Builder countryOfOrigin(JsonField<String> countryOfOrigin)
Sets Builder.countryOfOrigin to an arbitrary JSON value.
You should usually call Builder.countryOfOrigin with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
geographicFootprint
final ScanReport.Intelligence.Builder geographicFootprint(List<String> geographicFootprint)
List of countries where the model originated
-
geographicFootprint
final ScanReport.Intelligence.Builder geographicFootprint(JsonField<List<String>> geographicFootprint)
Sets Builder.geographicFootprint to an arbitrary JSON value.
You should usually call Builder.geographicFootprint with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addGeographicFootprint
final ScanReport.Intelligence.Builder addGeographicFootprint(String geographicFootprint)
Adds a single String to Builder.geographicFootprint.
-
licenses
final ScanReport.Intelligence.Builder licenses(List<ScanReport.Intelligence.License> licenses)
List of licenses associated with the model
-
licenses
final ScanReport.Intelligence.Builder licenses(JsonField<List<ScanReport.Intelligence.License>> licenses)
Sets Builder.licenses to an arbitrary JSON value.
You should usually call Builder.licenses with a well-typed
List<License>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addLicense
final ScanReport.Intelligence.Builder addLicense(ScanReport.Intelligence.License license)
-
usagePolicies
final ScanReport.Intelligence.Builder usagePolicies(List<ScanReport.Intelligence.UsagePolicy> usagePolicies)
List of usage policies associated with the model
-
usagePolicies
final ScanReport.Intelligence.Builder usagePolicies(JsonField<List<ScanReport.Intelligence.UsagePolicy>> usagePolicies)
Sets Builder.usagePolicies to an arbitrary JSON value.
You should usually call Builder.usagePolicies with a well-typed
List<UsagePolicy>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addUsagePolicy
final ScanReport.Intelligence.Builder addUsagePolicy(ScanReport.Intelligence.UsagePolicy usagePolicy)
Adds a single UsagePolicy to usagePolicies.
-
additionalProperties
final ScanReport.Intelligence.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScanReport.Intelligence.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScanReport.Intelligence.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScanReport.Intelligence.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScanReport.Intelligence.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScanReport.Intelligence build()
Returns an immutable instance of Intelligence.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-