@Generated(value="software.amazon.awssdk:codegen") public final class PackageVersionOrigin extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>
Information about how a package version was added to a repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PackageVersionOrigin.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PackageVersionOrigin.Builder |
builder() |
DomainEntryPoint |
domainEntryPoint()
A DomainEntryPoint
object that contains information about from which repository or external connection the package version was
added to the domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PackageVersionOriginType |
originType()
Describes how the package version was originally added to the domain.
|
String |
originTypeAsString()
Describes how the package version was originally added to the domain.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PackageVersionOrigin.Builder> |
serializableBuilderClass() |
PackageVersionOrigin.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DomainEntryPoint domainEntryPoint()
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
public final PackageVersionOriginType originType()
Describes how the package version was originally added to the domain. An INTERNAL origin type means
the package version was published directly to a repository in the domain. An EXTERNAL origin type
means the package version was ingested from an external connection.
If the service returns an enum value that is not available in the current SDK version, originType will
return PackageVersionOriginType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from originTypeAsString().
INTERNAL origin
type means the package version was published directly to a repository in the domain. An
EXTERNAL origin type means the package version was ingested from an external connection.PackageVersionOriginTypepublic final String originTypeAsString()
Describes how the package version was originally added to the domain. An INTERNAL origin type means
the package version was published directly to a repository in the domain. An EXTERNAL origin type
means the package version was ingested from an external connection.
If the service returns an enum value that is not available in the current SDK version, originType will
return PackageVersionOriginType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from originTypeAsString().
INTERNAL origin
type means the package version was published directly to a repository in the domain. An
EXTERNAL origin type means the package version was ingested from an external connection.PackageVersionOriginTypepublic PackageVersionOrigin.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>public static PackageVersionOrigin.Builder builder()
public static Class<? extends PackageVersionOrigin.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.