Class GlobalSchemaContractInner


  • public final class GlobalSchemaContractInner
    extends com.azure.core.management.ProxyResource
    Global Schema Contract details.
    • Constructor Detail

      • GlobalSchemaContractInner

        public GlobalSchemaContractInner()
    • Method Detail

      • schemaType

        public SchemaType schemaType()
        Get the schemaType property: Schema Type. Immutable.
        Returns:
        the schemaType value.
      • withSchemaType

        public GlobalSchemaContractInner withSchemaType​(SchemaType schemaType)
        Set the schemaType property: Schema Type. Immutable.
        Parameters:
        schemaType - the schemaType value to set.
        Returns:
        the GlobalSchemaContractInner object itself.
      • description

        public String description()
        Get the description property: Free-form schema entity description.
        Returns:
        the description value.
      • withDescription

        public GlobalSchemaContractInner withDescription​(String description)
        Set the description property: Free-form schema entity description.
        Parameters:
        description - the description value to set.
        Returns:
        the GlobalSchemaContractInner object itself.
      • value

        public Object value()
        Get the value property: Json-encoded string for non json-based schema.
        Returns:
        the value value.
      • withValue

        public GlobalSchemaContractInner withValue​(Object value)
        Set the value property: Json-encoded string for non json-based schema.
        Parameters:
        value - the value value to set.
        Returns:
        the GlobalSchemaContractInner object itself.
      • document

        public Object document()
        Get the document property: Global Schema document object for json-based schema formats(e.g. json schema).
        Returns:
        the document value.
      • withDocument

        public GlobalSchemaContractInner withDocument​(Object document)
        Set the document property: Global Schema document object for json-based schema formats(e.g. json schema).
        Parameters:
        document - the document value to set.
        Returns:
        the GlobalSchemaContractInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.