Class VaultCreateParams.Body
-
- All Implemented Interfaces:
public final class VaultCreateParams.BodyRequest parameters for creating a vault.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVaultCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringdisplayName()Human-readable name for the vault. final Optional<VaultCreateParams.Metadata>metadata()Arbitrary key-value metadata to attach to the vault. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<VaultCreateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final VaultCreateParams.Body.BuildertoBuilder()final VaultCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VaultCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
displayName
final String displayName()
Human-readable name for the vault. 1-255 characters.
-
metadata
final Optional<VaultCreateParams.Metadata> metadata()
Arbitrary key-value metadata to attach to the vault. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<VaultCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VaultCreateParams.Body.Builder toBuilder()
-
validate
final VaultCreateParams.Body 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 VaultCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.displayName()
-
-
-
-