Interface PackageVersionOrigin.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>,SdkBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>,SdkPojo
- Enclosing class:
- PackageVersionOrigin
public static interface PackageVersionOrigin.Builder extends SdkPojo, CopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.PackageVersionOrigin.BuilderdomainEntryPoint(DomainEntryPoint domainEntryPoint)A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.PackageVersionOrigin.BuilderoriginType(String originType)Describes how the package version was originally added to the domain.PackageVersionOrigin.BuilderoriginType(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 Detail
-
domainEntryPoint
PackageVersionOrigin.Builder domainEntryPoint(DomainEntryPoint 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:
domainEntryPoint(DomainEntryPoint)
-
originType
PackageVersionOrigin.Builder originType(String 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:
PackageVersionOriginType,PackageVersionOriginType
-
originType
PackageVersionOrigin.Builder originType(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.- 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:
PackageVersionOriginType,PackageVersionOriginType
-
-