Class V1JSONSchemaProps

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1JSONSchemaProps

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1JSONSchemaProps extends Object
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
  • Field Details

  • Constructor Details

    • V1JSONSchemaProps

      public V1JSONSchemaProps()
  • Method Details

    • get$Ref

      public String get$Ref()
      Returns:
      the $ref property value
    • set$Ref

      public void set$Ref(String $ref)
      Set the $ref property value
      Parameters:
      $ref - property value to set
    • $ref

      public V1JSONSchemaProps $ref(String $ref)
      Set $ref in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • get$Schema

      public String get$Schema()
      Returns:
      the $schema property value
    • set$Schema

      public void set$Schema(String $schema)
      Set the $schema property value
      Parameters:
      $schema - property value to set
    • $schema

      public V1JSONSchemaProps $schema(String $schema)
      Set $schema in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getAdditionalItems

      public Object getAdditionalItems()
      JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.
      Returns:
      the additionalItems property value
    • setAdditionalItems

      public void setAdditionalItems(Object additionalItems)
      Set the additionalItems property value
      Parameters:
      additionalItems - property value to set
    • additionalItems

      public V1JSONSchemaProps additionalItems(Object additionalItems)
      Set additionalItems in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getAdditionalProperties

      public Object getAdditionalProperties()
      JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.
      Returns:
      the additionalProperties property value
    • setAdditionalProperties

      public void setAdditionalProperties(Object additionalProperties)
      Set the additionalProperties property value
      Parameters:
      additionalProperties - property value to set
    • additionalProperties

      public V1JSONSchemaProps additionalProperties(Object additionalProperties)
      Set additionalProperties in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getAllOf

      public List<@Valid V1JSONSchemaProps> getAllOf()
      Returns:
      the allOf property value
    • setAllOf

      public void setAllOf(List<@Valid V1JSONSchemaProps> allOf)
      Set the allOf property value
      Parameters:
      allOf - property value to set
    • allOf

      public V1JSONSchemaProps allOf(List<@Valid V1JSONSchemaProps> allOf)
      Set allOf in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addallOfItem

      public V1JSONSchemaProps addallOfItem(V1JSONSchemaProps allOfItem)
      Add an item to the allOf property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getAnyOf

      public List<@Valid V1JSONSchemaProps> getAnyOf()
      Returns:
      the anyOf property value
    • setAnyOf

      public void setAnyOf(List<@Valid V1JSONSchemaProps> anyOf)
      Set the anyOf property value
      Parameters:
      anyOf - property value to set
    • anyOf

      public V1JSONSchemaProps anyOf(List<@Valid V1JSONSchemaProps> anyOf)
      Set anyOf in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addanyOfItem

      public V1JSONSchemaProps addanyOfItem(V1JSONSchemaProps anyOfItem)
      Add an item to the anyOf property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • get_default

      public Object get_default()
      default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
      Returns:
      the _default property value
    • set_default

      public void set_default(Object _default)
      Set the _default property value
      Parameters:
      _default - property value to set
    • _default

      public V1JSONSchemaProps _default(Object _default)
      Set _default in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getDefinitions

      public Map<String,@Valid V1JSONSchemaProps> getDefinitions()
      Returns:
      the definitions property value
    • setDefinitions

      public void setDefinitions(Map<String,@Valid V1JSONSchemaProps> definitions)
      Set the definitions property value
      Parameters:
      definitions - property value to set
    • definitions

      public V1JSONSchemaProps definitions(Map<String,@Valid V1JSONSchemaProps> definitions)
      Set definitions in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • putdefinitionsItem

      public V1JSONSchemaProps putdefinitionsItem(String key, V1JSONSchemaProps definitionsItem)
      Set the value for the key for the definitions map property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getDependencies

      public Map<String,Object> getDependencies()
      Returns:
      the dependencies property value
    • setDependencies

      public void setDependencies(Map<String,Object> dependencies)
      Set the dependencies property value
      Parameters:
      dependencies - property value to set
    • dependencies

      public V1JSONSchemaProps dependencies(Map<String,Object> dependencies)
      Set dependencies in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • putdependenciesItem

      public V1JSONSchemaProps putdependenciesItem(String key, Object dependenciesItem)
      Set the value for the key for the dependencies map property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getDescription

      public String getDescription()
      Returns:
      the description property value
    • setDescription

      public void setDescription(String description)
      Set the description property value
      Parameters:
      description - property value to set
    • description

      public V1JSONSchemaProps description(String description)
      Set description in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • get_enum

      public List<Object> get_enum()
      Returns:
      the _enum property value
    • set_enum

      public void set_enum(List<Object> _enum)
      Set the _enum property value
      Parameters:
      _enum - property value to set
    • _enum

      public V1JSONSchemaProps _enum(List<Object> _enum)
      Set _enum in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addEnumItem

      public V1JSONSchemaProps addEnumItem(Object _enumItem)
      Add an item to the _enum property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getExample

      public Object getExample()
      JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.
      Returns:
      the example property value
    • setExample

      public void setExample(Object example)
      Set the example property value
      Parameters:
      example - property value to set
    • example

      public V1JSONSchemaProps example(Object example)
      Set example in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getExclusiveMaximum

      public Boolean getExclusiveMaximum()
      Returns:
      the exclusiveMaximum property value
    • setExclusiveMaximum

      public void setExclusiveMaximum(Boolean exclusiveMaximum)
      Set the exclusiveMaximum property value
      Parameters:
      exclusiveMaximum - property value to set
    • exclusiveMaximum

      public V1JSONSchemaProps exclusiveMaximum(Boolean exclusiveMaximum)
      Set exclusiveMaximum in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getExclusiveMinimum

      public Boolean getExclusiveMinimum()
      Returns:
      the exclusiveMinimum property value
    • setExclusiveMinimum

      public void setExclusiveMinimum(Boolean exclusiveMinimum)
      Set the exclusiveMinimum property value
      Parameters:
      exclusiveMinimum - property value to set
    • exclusiveMinimum

      public V1JSONSchemaProps exclusiveMinimum(Boolean exclusiveMinimum)
      Set exclusiveMinimum in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getExternalDocs

      public V1ExternalDocumentation getExternalDocs()
      Returns:
      the externalDocs property value
    • setExternalDocs

      public void setExternalDocs(V1ExternalDocumentation externalDocs)
      Set the externalDocs property value
      Parameters:
      externalDocs - property value to set
    • externalDocs

      public V1JSONSchemaProps externalDocs(V1ExternalDocumentation externalDocs)
      Set externalDocs in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getFormat

      public String getFormat()
      format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.
      Returns:
      the format property value
    • setFormat

      public void setFormat(String format)
      Set the format property value
      Parameters:
      format - property value to set
    • format

      public V1JSONSchemaProps format(String format)
      Set format in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getId

      public String getId()
      Returns:
      the id property value
    • setId

      public void setId(String id)
      Set the id property value
      Parameters:
      id - property value to set
    • id

      public V1JSONSchemaProps id(String id)
      Set id in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getItems

      public Object getItems()
      JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.
      Returns:
      the items property value
    • setItems

      public void setItems(Object items)
      Set the items property value
      Parameters:
      items - property value to set
    • items

      public V1JSONSchemaProps items(Object items)
      Set items in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMaxItems

      public Long getMaxItems()
      Returns:
      the maxItems property value
    • setMaxItems

      public void setMaxItems(Long maxItems)
      Set the maxItems property value
      Parameters:
      maxItems - property value to set
    • maxItems

      public V1JSONSchemaProps maxItems(Long maxItems)
      Set maxItems in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMaxLength

      public Long getMaxLength()
      Returns:
      the maxLength property value
    • setMaxLength

      public void setMaxLength(Long maxLength)
      Set the maxLength property value
      Parameters:
      maxLength - property value to set
    • maxLength

      public V1JSONSchemaProps maxLength(Long maxLength)
      Set maxLength in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMaxProperties

      public Long getMaxProperties()
      Returns:
      the maxProperties property value
    • setMaxProperties

      public void setMaxProperties(Long maxProperties)
      Set the maxProperties property value
      Parameters:
      maxProperties - property value to set
    • maxProperties

      public V1JSONSchemaProps maxProperties(Long maxProperties)
      Set maxProperties in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMaximum

      public Double getMaximum()
      Returns:
      the maximum property value
    • setMaximum

      public void setMaximum(Double maximum)
      Set the maximum property value
      Parameters:
      maximum - property value to set
    • maximum

      public V1JSONSchemaProps maximum(Double maximum)
      Set maximum in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMinItems

      public Long getMinItems()
      Returns:
      the minItems property value
    • setMinItems

      public void setMinItems(Long minItems)
      Set the minItems property value
      Parameters:
      minItems - property value to set
    • minItems

      public V1JSONSchemaProps minItems(Long minItems)
      Set minItems in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMinLength

      public Long getMinLength()
      Returns:
      the minLength property value
    • setMinLength

      public void setMinLength(Long minLength)
      Set the minLength property value
      Parameters:
      minLength - property value to set
    • minLength

      public V1JSONSchemaProps minLength(Long minLength)
      Set minLength in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMinProperties

      public Long getMinProperties()
      Returns:
      the minProperties property value
    • setMinProperties

      public void setMinProperties(Long minProperties)
      Set the minProperties property value
      Parameters:
      minProperties - property value to set
    • minProperties

      public V1JSONSchemaProps minProperties(Long minProperties)
      Set minProperties in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMinimum

      public Double getMinimum()
      Returns:
      the minimum property value
    • setMinimum

      public void setMinimum(Double minimum)
      Set the minimum property value
      Parameters:
      minimum - property value to set
    • minimum

      public V1JSONSchemaProps minimum(Double minimum)
      Set minimum in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getMultipleOf

      public Double getMultipleOf()
      Returns:
      the multipleOf property value
    • setMultipleOf

      public void setMultipleOf(Double multipleOf)
      Set the multipleOf property value
      Parameters:
      multipleOf - property value to set
    • multipleOf

      public V1JSONSchemaProps multipleOf(Double multipleOf)
      Set multipleOf in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getNot

      public V1JSONSchemaProps getNot()
      Returns:
      the not property value
    • setNot

      public void setNot(V1JSONSchemaProps not)
      Set the not property value
      Parameters:
      not - property value to set
    • not

      Set not in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getNullable

      public Boolean getNullable()
      Returns:
      the nullable property value
    • setNullable

      public void setNullable(Boolean nullable)
      Set the nullable property value
      Parameters:
      nullable - property value to set
    • nullable

      public V1JSONSchemaProps nullable(Boolean nullable)
      Set nullable in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getOneOf

      public List<@Valid V1JSONSchemaProps> getOneOf()
      Returns:
      the oneOf property value
    • setOneOf

      public void setOneOf(List<@Valid V1JSONSchemaProps> oneOf)
      Set the oneOf property value
      Parameters:
      oneOf - property value to set
    • oneOf

      public V1JSONSchemaProps oneOf(List<@Valid V1JSONSchemaProps> oneOf)
      Set oneOf in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addoneOfItem

      public V1JSONSchemaProps addoneOfItem(V1JSONSchemaProps oneOfItem)
      Add an item to the oneOf property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getPattern

      public String getPattern()
      Returns:
      the pattern property value
    • setPattern

      public void setPattern(String pattern)
      Set the pattern property value
      Parameters:
      pattern - property value to set
    • pattern

      public V1JSONSchemaProps pattern(String pattern)
      Set pattern in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getPatternProperties

      public Map<String,@Valid V1JSONSchemaProps> getPatternProperties()
      Returns:
      the patternProperties property value
    • setPatternProperties

      public void setPatternProperties(Map<String,@Valid V1JSONSchemaProps> patternProperties)
      Set the patternProperties property value
      Parameters:
      patternProperties - property value to set
    • patternProperties

      public V1JSONSchemaProps patternProperties(Map<String,@Valid V1JSONSchemaProps> patternProperties)
      Set patternProperties in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • putpatternPropertiesItem

      public V1JSONSchemaProps putpatternPropertiesItem(String key, V1JSONSchemaProps patternPropertiesItem)
      Set the value for the key for the patternProperties map property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getProperties

      public Map<String,@Valid V1JSONSchemaProps> getProperties()
      Returns:
      the properties property value
    • setProperties

      public void setProperties(Map<String,@Valid V1JSONSchemaProps> properties)
      Set the properties property value
      Parameters:
      properties - property value to set
    • properties

      public V1JSONSchemaProps properties(Map<String,@Valid V1JSONSchemaProps> properties)
      Set properties in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • putpropertiesItem

      public V1JSONSchemaProps putpropertiesItem(String key, V1JSONSchemaProps propertiesItem)
      Set the value for the key for the properties map property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getRequired

      public List<@NotNull String> getRequired()
      Returns:
      the required property value
    • setRequired

      public void setRequired(List<@NotNull String> required)
      Set the required property value
      Parameters:
      required - property value to set
    • required

      public V1JSONSchemaProps required(List<@NotNull String> required)
      Set required in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addrequiredItem

      public V1JSONSchemaProps addrequiredItem(String requiredItem)
      Add an item to the required property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getTitle

      public String getTitle()
      Returns:
      the title property value
    • setTitle

      public void setTitle(String title)
      Set the title property value
      Parameters:
      title - property value to set
    • title

      public V1JSONSchemaProps title(String title)
      Set title in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getType

      public String getType()
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
      Parameters:
      type - property value to set
    • type

      public V1JSONSchemaProps type(String type)
      Set type in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getUniqueItems

      public Boolean getUniqueItems()
      Returns:
      the uniqueItems property value
    • setUniqueItems

      public void setUniqueItems(Boolean uniqueItems)
      Set the uniqueItems property value
      Parameters:
      uniqueItems - property value to set
    • uniqueItems

      public V1JSONSchemaProps uniqueItems(Boolean uniqueItems)
      Set uniqueItems in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesEmbeddedResource

      public Boolean getXkubernetesEmbeddedResource()
      x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
      Returns:
      the xkubernetesEmbeddedResource property value
    • setXkubernetesEmbeddedResource

      public void setXkubernetesEmbeddedResource(Boolean xkubernetesEmbeddedResource)
      Set the xkubernetesEmbeddedResource property value
      Parameters:
      xkubernetesEmbeddedResource - property value to set
    • xkubernetesEmbeddedResource

      public V1JSONSchemaProps xkubernetesEmbeddedResource(Boolean xkubernetesEmbeddedResource)
      Set xkubernetesEmbeddedResource in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesIntOrString

      public Boolean getXkubernetesIntOrString()
      x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more
      Returns:
      the xkubernetesIntOrString property value
    • setXkubernetesIntOrString

      public void setXkubernetesIntOrString(Boolean xkubernetesIntOrString)
      Set the xkubernetesIntOrString property value
      Parameters:
      xkubernetesIntOrString - property value to set
    • xkubernetesIntOrString

      public V1JSONSchemaProps xkubernetesIntOrString(Boolean xkubernetesIntOrString)
      Set xkubernetesIntOrString in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesListMapKeys

      public List<@NotNull String> getXkubernetesListMapKeys()
      x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
      Returns:
      the xkubernetesListMapKeys property value
    • setXkubernetesListMapKeys

      public void setXkubernetesListMapKeys(List<@NotNull String> xkubernetesListMapKeys)
      Set the xkubernetesListMapKeys property value
      Parameters:
      xkubernetesListMapKeys - property value to set
    • xkubernetesListMapKeys

      public V1JSONSchemaProps xkubernetesListMapKeys(List<@NotNull String> xkubernetesListMapKeys)
      Set xkubernetesListMapKeys in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addxkubernetesListMapKeysItem

      public V1JSONSchemaProps addxkubernetesListMapKeysItem(String xkubernetesListMapKeysItem)
      Add an item to the xkubernetesListMapKeys property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesListType

      public String getXkubernetesListType()
      x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.
      Returns:
      the xkubernetesListType property value
    • setXkubernetesListType

      public void setXkubernetesListType(String xkubernetesListType)
      Set the xkubernetesListType property value
      Parameters:
      xkubernetesListType - property value to set
    • xkubernetesListType

      public V1JSONSchemaProps xkubernetesListType(String xkubernetesListType)
      Set xkubernetesListType in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesMapType

      public String getXkubernetesMapType()
      x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.
      Returns:
      the xkubernetesMapType property value
    • setXkubernetesMapType

      public void setXkubernetesMapType(String xkubernetesMapType)
      Set the xkubernetesMapType property value
      Parameters:
      xkubernetesMapType - property value to set
    • xkubernetesMapType

      public V1JSONSchemaProps xkubernetesMapType(String xkubernetesMapType)
      Set xkubernetesMapType in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesPreserveUnknownFields

      public Boolean getXkubernetesPreserveUnknownFields()
      x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
      Returns:
      the xkubernetesPreserveUnknownFields property value
    • setXkubernetesPreserveUnknownFields

      public void setXkubernetesPreserveUnknownFields(Boolean xkubernetesPreserveUnknownFields)
      Set the xkubernetesPreserveUnknownFields property value
      Parameters:
      xkubernetesPreserveUnknownFields - property value to set
    • xkubernetesPreserveUnknownFields

      public V1JSONSchemaProps xkubernetesPreserveUnknownFields(Boolean xkubernetesPreserveUnknownFields)
      Set xkubernetesPreserveUnknownFields in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • getXkubernetesValidations

      public List<@Valid V1ValidationRule> getXkubernetesValidations()
      x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.
      Returns:
      the xkubernetesValidations property value
    • setXkubernetesValidations

      public void setXkubernetesValidations(List<@Valid V1ValidationRule> xkubernetesValidations)
      Set the xkubernetesValidations property value
      Parameters:
      xkubernetesValidations - property value to set
    • xkubernetesValidations

      public V1JSONSchemaProps xkubernetesValidations(List<@Valid V1ValidationRule> xkubernetesValidations)
      Set xkubernetesValidations in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • addxkubernetesValidationsItem

      public V1JSONSchemaProps addxkubernetesValidationsItem(V1ValidationRule xkubernetesValidationsItem)
      Add an item to the xkubernetesValidations property in a chainable fashion.
      Returns:
      The same instance of V1JSONSchemaProps for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object