@Generated(value="software.amazon.awssdk:codegen") public final class PackageVersionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PackageVersionSummary.Builder,PackageVersionSummary>
A summary of information about a package version.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PackageVersionSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PackageVersionSummary.Builder |
builder() |
Instant |
creationDate()
The date that the package version was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The date that the package version was last updated.
|
String |
packageName()
The name of the associated software package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PackageVersionSummary.Builder> |
serializableBuilderClass() |
PackageVersionStatus |
status()
The status of the package version.
|
String |
statusAsString()
The status of the package version.
|
PackageVersionSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionName()
The name of the target package version.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String packageName()
The name of the associated software package.
public final String versionName()
The name of the target package version.
public final PackageVersionStatus status()
The status of the package version. For more information, see Package version lifecycle.
If the service returns an enum value that is not available in the current SDK version, status will
return PackageVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
PackageVersionStatuspublic final String statusAsString()
The status of the package version. For more information, see Package version lifecycle.
If the service returns an enum value that is not available in the current SDK version, status will
return PackageVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
PackageVersionStatuspublic final Instant creationDate()
The date that the package version was created.
public final Instant lastModifiedDate()
The date that the package version was last updated.
public PackageVersionSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PackageVersionSummary.Builder,PackageVersionSummary>public static PackageVersionSummary.Builder builder()
public static Class<? extends PackageVersionSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.