Class AppCatalogListingResourceVersion
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.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 theAppCatalogListingResourceVersion.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 calledAppCatalogListingResourceVersion.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AppCatalogListingResourceVersion.AllowedActions
static class
AppCatalogListingResourceVersion.Builder
-
Constructor Summary
Constructors Constructor Description AppCatalogListingResourceVersion(String listingId, Date timePublished, String listingResourceId, String listingResourceVersion, List<String> availableRegions, List<String> compatibleShapes, List<Integer> accessiblePorts, List<AppCatalogListingResourceVersion.AllowedActions> allowedActions)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppCatalogListingResourceVersion.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<Integer>
getAccessiblePorts()
List of accessible ports for instances launched with this listing resource version.List<AppCatalogListingResourceVersion.AllowedActions>
getAllowedActions()
Allowed actions for the listing resource.List<String>
getAvailableRegions()
List of regions that this listing resource version is available.List<String>
getCompatibleShapes()
Array of shapes compatible with this resource.String
getListingId()
The OCID of the listing this resource version belongs to.String
getListingResourceId()
OCID of the listing resource.String
getListingResourceVersion()
Resource Version.Date
getTimePublished()
Date and time the listing resource version was published, in RFC3339 format.int
hashCode()
AppCatalogListingResourceVersion.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AppCatalogListingResourceVersion
@Deprecated @ConstructorProperties({"listingId","timePublished","listingResourceId","listingResourceVersion","availableRegions","compatibleShapes","accessiblePorts","allowedActions"}) public AppCatalogListingResourceVersion(String listingId, Date timePublished, String listingResourceId, String listingResourceVersion, List<String> availableRegions, List<String> compatibleShapes, List<Integer> accessiblePorts, List<AppCatalogListingResourceVersion.AllowedActions> allowedActions)
Deprecated.
-
-
Method Detail
-
builder
public static AppCatalogListingResourceVersion.Builder builder()
Create a new builder.
-
toBuilder
public AppCatalogListingResourceVersion.Builder toBuilder()
-
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
-
getAllowedActions
public List<AppCatalogListingResourceVersion.AllowedActions> getAllowedActions()
Allowed actions for the listing resource.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-