Interface Resource

  • All Superinterfaces:
    ModelEntity, Serializable
    All Known Implementing Classes:
    HeatResource

    public interface Resource
    extends ModelEntity
    This interface describes the getter-methods (and thus components) of a heat source. All getters map to the possible return values of Get /v1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}
    Author:
    Octopus Zhang
    • Method Detail

      • getLinks

        List<? extends Link> getLinks()
        Returns the link of the resource
        Returns:
        the link of the resource
      • getTime

        Date getTime()
        Returns the update time of the resource
        Returns:
        the update time of the resource
      • getType

        String getType()
        Returns the type of the resource
        Returns:
        the type of the resource
      • getReason

        String getReason()
        Returns the type of the resource
        Returns:
        the type of the resource
      • getResourceName

        String getResourceName()
        Returns the name of the resource
        Returns:
        the name of the resource
      • getLocalReourceId

        String getLocalReourceId()
        Returns the local resource id of the resource
        Returns:
        the local resource id of the resource
      • getResourceStatus

        String getResourceStatus()
        Returns the local resource id of the resource
        Returns:
        the local resource id of the resource
      • getPhysicalResourceId

        String getPhysicalResourceId()
        Returns the local physical resource id of the resource
        Returns:
        the local physical resource id of the resource
      • getRequiredBy

        List<String> getRequiredBy()
        Returns the resource name which need this resource
        Returns:
        the resource name which need this resource