Interface PackageVersionOrigin.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PackageVersionOrigin.Builder,,PackageVersionOrigin> SdkBuilder<PackageVersionOrigin.Builder,,PackageVersionOrigin> SdkPojo
- Enclosing class:
PackageVersionOrigin
-
Method Summary
Modifier and TypeMethodDescriptiondefault PackageVersionOrigin.BuilderdomainEntryPoint(Consumer<DomainEntryPoint.Builder> domainEntryPoint) A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.domainEntryPoint(DomainEntryPoint domainEntryPoint) A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.originType(String originType) Describes how the package version was originally added to the domain.originType(PackageVersionOriginType originType) Describes how the package version was originally added to the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainEntryPoint
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
- Parameters:
domainEntryPoint- A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEntryPoint
default PackageVersionOrigin.Builder domainEntryPoint(Consumer<DomainEntryPoint.Builder> domainEntryPoint) A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
This is a convenience method that creates an instance of theDomainEntryPoint.Builderavoiding the need to create one manually viaDomainEntryPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainEntryPoint(DomainEntryPoint).- Parameters:
domainEntryPoint- a consumer that will call methods onDomainEntryPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
originType- Describes how the package version was originally added to the domain. AnINTERNALorigin 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
originType- Describes how the package version was originally added to the domain. AnINTERNALorigin 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-