Class AppCatalogListingResourceVersion


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class AppCatalogListingResourceVersion
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Listing Resource Version
    Note: Objects should always be created or deserialized using the AppCatalogListingResourceVersion.Builder.

    This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the AppCatalogListingResourceVersion.Builder, which maintain a set of all explicitly set fields called AppCatalogListingResourceVersion.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getListingId

        public String getListingId()
        The OCID of the listing this resource version belongs to.
        Returns:
        the value
      • getTimePublished

        public Date getTimePublished()
        Date and time the listing resource version was published, in RFC3339 format.

        Example: 2018-03-20T12:32:53.532Z

        Returns:
        the value
      • getListingResourceId

        public String getListingResourceId()
        OCID of the listing resource.
        Returns:
        the value
      • getListingResourceVersion

        public String getListingResourceVersion()
        Resource Version.
        Returns:
        the value
      • getAvailableRegions

        public List<String> getAvailableRegions()
        List of regions that this listing resource version is available.

        For information about regions, see [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).

        Example: ["us-ashburn-1", "us-phoenix-1"]

        Returns:
        the value
      • getCompatibleShapes

        public List<String> getCompatibleShapes()
        Array of shapes compatible with this resource.

        You can enumerate all available shapes by calling listShapes.

        Example: ["VM.Standard1.1", "VM.Standard1.2"]

        Returns:
        the value
      • getAccessiblePorts

        public List<Integer> getAccessiblePorts()
        List of accessible ports for instances launched with this listing resource version.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel