@Generated(value="software.amazon.awssdk:codegen") public final class PublishPackageVersionResponse extends CodeartifactResponse implements ToCopyableBuilder<PublishPackageVersionResponse.Builder,PublishPackageVersionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PublishPackageVersionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AssetSummary |
asset()
An AssetSummary
for the published asset.
|
static PublishPackageVersionResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
PackageFormat |
format()
The format of the package version.
|
String |
formatAsString()
The format of the package version.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
namespace()
The namespace of the package version.
|
String |
packageValue()
The name of the package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PublishPackageVersionResponse.Builder> |
serializableBuilderClass() |
PackageVersionStatus |
status()
A string that contains the status of the package version.
|
String |
statusAsString()
A string that contains the status of the package version.
|
PublishPackageVersionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the package.
|
String |
versionRevision()
The revision of the package version.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PackageFormat format()
The format of the package version.
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 version.
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 version.
public final String packageValue()
The name of the package.
public final String version()
The version of the package.
public final String versionRevision()
The revision of the package version.
public final PackageVersionStatus status()
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
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()
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
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 AssetSummary asset()
An AssetSummary for the published asset.
public PublishPackageVersionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PublishPackageVersionResponse.Builder,PublishPackageVersionResponse>toBuilder in class AwsResponsepublic static PublishPackageVersionResponse.Builder builder()
public static Class<? extends PublishPackageVersionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.