@Generated(value="OracleSDKGenerator", comments="API Version: 20181001") public final class ListingPackageSummary extends Object
The model for a summary of a package.
Note: Objects should always be created or deserialized using the ListingPackageSummary.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 ListingPackageSummary.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
ListingPackageSummary.Builder |
| Constructor and Description |
|---|
ListingPackageSummary(String listingId,
String packageVersion,
PackageTypeEnum packageType,
List<Region> regions,
String resourceId,
Date timeCreated)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ListingPackageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getListingId()
The id of the listing the specified package belongs to.
|
PackageTypeEnum |
getPackageType()
The specified package’s type.
|
String |
getPackageVersion()
The version of the specified package.
|
List<Region> |
getRegions()
The regions where the package is eligible to be deployed.
|
String |
getResourceId()
The unique identifier for the package resource.
|
Date |
getTimeCreated()
The date and time this listing package was created, expressed in RFC 3339 timestamp format.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"listingId","packageVersion","packageType","regions","resourceId","timeCreated"}) @Deprecated public ListingPackageSummary(String listingId, String packageVersion, PackageTypeEnum packageType, List<Region> regions, String resourceId, Date timeCreated)
public static ListingPackageSummary.Builder builder()
Create a new builder.
public String getListingId()
The id of the listing the specified package belongs to.
public String getPackageVersion()
The version of the specified package.
public PackageTypeEnum getPackageType()
The specified package’s type.
public List<Region> getRegions()
The regions where the package is eligible to be deployed.
public String getResourceId()
The unique identifier for the package resource.
public Date getTimeCreated()
The date and time this listing package was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
Copyright © 2016–2020. All rights reserved.