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 interfacePackageVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PackageVersionSummary.Builderbuilder()InstantcreationDate()The date that the package version was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The date that the package version was last updated.StringpackageName()The name of the associated software package.List<SdkField<?>>sdkFields()static Class<? extends PackageVersionSummary.Builder>serializableBuilderClass()PackageVersionStatusstatus()The status of the package version.StringstatusAsString()The status of the package version.PackageVersionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionName()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,
statuswill 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,
statuswill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-