Class LinkedDatabase


  • public final class LinkedDatabase
    extends Object
    Linked Database Specifies details of a linked database resource.
    • Constructor Detail

      • LinkedDatabase

        public LinkedDatabase()
    • Method Detail

      • id

        public String id()
        Get the id property: Resource ID of a database resource to link with this database.
        Returns:
        the id value.
      • withId

        public LinkedDatabase withId​(String id)
        Set the id property: Resource ID of a database resource to link with this database.
        Parameters:
        id - the id value to set.
        Returns:
        the LinkedDatabase object itself.
      • state

        public LinkState state()
        Get the state property: State of the link between the database resources.
        Returns:
        the state value.
      • validate

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