Class PackageVersionOrigin
- java.lang.Object
-
- software.amazon.awssdk.services.codeartifact.model.PackageVersionOrigin
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePackageVersionOrigin.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PackageVersionOrigin.Builderbuilder()DomainEntryPointdomainEntryPoint()A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PackageVersionOriginTypeoriginType()Describes how the package version was originally added to the domain.StringoriginTypeAsString()Describes how the package version was originally added to the domain.List<SdkField<?>>sdkFields()static Class<? extends PackageVersionOrigin.Builder>serializableBuilderClass()PackageVersionOrigin.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
domainEntryPoint
public final DomainEntryPoint domainEntryPoint()
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
- Returns:
- A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
-
originType
public final PackageVersionOriginType originType()
Describes how the package version was originally added to the domain. An
INTERNALorigin type means the package version was published directly to a repository in the domain. AnEXTERNALorigin 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,
originTypewill returnPackageVersionOriginType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginTypeAsString().- Returns:
- Describes how the package version was originally added to the domain. An
INTERNALorigin type means the package version was published directly to a repository in the domain. AnEXTERNALorigin type means the package version was ingested from an external connection. - See Also:
PackageVersionOriginType
-
originTypeAsString
public final String originTypeAsString()
Describes how the package version was originally added to the domain. An
INTERNALorigin type means the package version was published directly to a repository in the domain. AnEXTERNALorigin 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,
originTypewill returnPackageVersionOriginType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginTypeAsString().- Returns:
- Describes how the package version was originally added to the domain. An
INTERNALorigin type means the package version was published directly to a repository in the domain. AnEXTERNALorigin type means the package version was ingested from an external connection. - See Also:
PackageVersionOriginType
-
toBuilder
public PackageVersionOrigin.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>
-
builder
public static PackageVersionOrigin.Builder builder()
-
serializableBuilderClass
public static Class<? extends PackageVersionOrigin.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.
-
-