Class PackageVersionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.PackageVersionSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PackageVersionSummary.Builder,PackageVersionSummary>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PackageVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
packageName
public final String packageName()
The name of the associated software package.
- Returns:
- The name of the associated software package.
-
versionName
public final String versionName()
The name of the target package version.
- Returns:
- The name of the target package version.
-
status
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 returnPackageVersionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the package version. For more information, see Package version lifecycle.
- See Also:
PackageVersionStatus
-
statusAsString
public 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 returnPackageVersionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the package version. For more information, see Package version lifecycle.
- See Also:
PackageVersionStatus
-
creationDate
public final Instant creationDate()
The date that the package version was created.
- Returns:
- The date that the package version was created.
-
lastModifiedDate
public final Instant lastModifiedDate()
The date that the package version was last updated.
- Returns:
- The date that the package version was last updated.
-
toBuilder
public PackageVersionSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PackageVersionSummary.Builder,PackageVersionSummary>
-
builder
public static PackageVersionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends PackageVersionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-