@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageVersionOrigin extends Object implements Serializable, Cloneable, StructuredPojo
Information about how a package version was added to a repository.
| Constructor and Description | 
|---|
| PackageVersionOrigin() | 
| Modifier and Type | Method and Description | 
|---|---|
| PackageVersionOrigin | clone() | 
| boolean | equals(Object obj) | 
| DomainEntryPoint | getDomainEntryPoint()
 A DomainEntryPoint
  object that contains information about from which repository or external connection the package version was
 added to the domain. | 
| String | getOriginType()
 Describes how the package version was originally added to the domain. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDomainEntryPoint(DomainEntryPoint domainEntryPoint)
 A DomainEntryPoint
  object that contains information about from which repository or external connection the package version was
 added to the domain. | 
| void | setOriginType(String originType)
 Describes how the package version was originally added to the domain. | 
| String | toString()Returns a string representation of this object. | 
| PackageVersionOrigin | withDomainEntryPoint(DomainEntryPoint domainEntryPoint)
 A DomainEntryPoint
  object that contains information about from which repository or external connection the package version was
 added to the domain. | 
| PackageVersionOrigin | withOriginType(PackageVersionOriginType originType)
 Describes how the package version was originally added to the domain. | 
| PackageVersionOrigin | withOriginType(String originType)
 Describes how the package version was originally added to the domain. | 
public void setDomainEntryPoint(DomainEntryPoint domainEntryPoint)
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
domainEntryPoint - A 
        DomainEntryPoint object that contains information about from which repository or external connection
        the package version was added to the domain.public DomainEntryPoint getDomainEntryPoint()
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
public PackageVersionOrigin withDomainEntryPoint(DomainEntryPoint domainEntryPoint)
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
domainEntryPoint - A 
        DomainEntryPoint object that contains information about from which repository or external connection
        the package version was added to the domain.public void setOriginType(String 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.
 
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.PackageVersionOriginTypepublic String getOriginType()
 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.
 
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 withOriginType(String 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.
 
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.PackageVersionOriginTypepublic PackageVersionOrigin withOriginType(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.
 
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.PackageVersionOriginTypepublic String toString()
toString in class ObjectObject.toString()public PackageVersionOrigin clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.