Class IndexField

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class IndexField
    extends com.ibm.cloud.sdk.core.service.model.DynamicModel<String>
    Schema for indexed fields for use with declarative JSON query.
    • Constructor Detail

      • IndexField

        public IndexField()
    • Method Detail

      • newBuilder

        public IndexField.Builder newBuilder()
        New builder.
        Returns:
        a IndexField builder
      • getName

        public String getName()
        Gets the name. Name of the field.
        Returns:
        the name
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • getType

        public String getType()
        Gets the type. The type of the named field.
        Returns:
        the type
      • setType

        public void setType​(String type)
        Sets the type.
        Parameters:
        type - the new type