@Generated(value="software.amazon.awssdk:codegen") public final class PackageSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PackageSummary.Builder,PackageSummary>
Details about a package, including its format, namespace, and name.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PackageSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PackageSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
PackageFormat |
format()
The format of the package.
|
String |
formatAsString()
The format of the package.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
namespace()
The namespace of the package.
|
PackageOriginConfiguration |
originConfiguration()
A
PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin
restrictions.
|
String |
packageValue()
The name of the package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PackageSummary.Builder> |
serializableBuilderClass() |
PackageSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PackageFormat format()
The format of the package.
If the service returns an enum value that is not available in the current SDK version, format will
return PackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
PackageFormatpublic final String formatAsString()
The format of the package.
If the service returns an enum value that is not available in the current SDK version, format will
return PackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
PackageFormatpublic final String namespace()
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
The namespace of a generic package is its namespace.
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
The namespace of a generic package is its namespace.
public final String packageValue()
The name of the package.
public final PackageOriginConfiguration originConfiguration()
A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.
public PackageSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PackageSummary.Builder,PackageSummary>public static PackageSummary.Builder builder()
public static Class<? extends PackageSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.