Interface PackageVersionOrigin.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PackageVersionOrigin.Builder,
,PackageVersionOrigin> SdkBuilder<PackageVersionOrigin.Builder,
,PackageVersionOrigin> SdkPojo
- Enclosing class:
PackageVersionOrigin
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaDomainEntryPoint.builder()
.When the
Consumer
completes,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
INTERNAL
origin type means the package version was published directly to a repository in the domain. AnEXTERNAL
origin type means the package version was ingested from an external connection.- Parameters:
originType
- Describes how the package version was originally added to the domain. AnINTERNAL
origin type means the package version was published directly to a repository in the domain. AnEXTERNAL
origin 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
INTERNAL
origin type means the package version was published directly to a repository in the domain. AnEXTERNAL
origin type means the package version was ingested from an external connection.- Parameters:
originType
- Describes how the package version was originally added to the domain. AnINTERNAL
origin type means the package version was published directly to a repository in the domain. AnEXTERNAL
origin 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:
-