Class ScanReport.Intelligence.UsagePolicy
-
- All Implemented Interfaces:
public final class ScanReport.Intelligence.UsagePolicyUsage policy information for a model
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanReport.Intelligence.UsagePolicy.BuilderA builder for UsagePolicy.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the usage policy final Stringsha256()SHA256 hash of the policy document final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_sha256()Returns the raw JSON value of sha256. final Map<String, JsonValue>_additionalProperties()final ScanReport.Intelligence.UsagePolicy.BuildertoBuilder()final ScanReport.Intelligence.UsagePolicyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanReport.Intelligence.UsagePolicy.Builderbuilder()Returns a mutable builder for constructing an instance of UsagePolicy. -
-
Method Detail
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_sha256
final JsonField<String> _sha256()
Returns the raw JSON value of sha256.
Unlike sha256, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanReport.Intelligence.UsagePolicy.Builder toBuilder()
-
validate
final ScanReport.Intelligence.UsagePolicy 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 ScanReport.Intelligence.UsagePolicy.Builder builder()
Returns a mutable builder for constructing an instance of UsagePolicy.
The following fields are required:
.name() .sha256()
-
-
-
-