Interface AssociatedPackage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssociatedPackage.Builder,
,AssociatedPackage> SdkBuilder<AssociatedPackage.Builder,
,AssociatedPackage> SdkPojo
- Enclosing class:
AssociatedPackage
-
Method Summary
Modifier and TypeMethodDescriptionassociationType
(String associationType) Describes the strength of the association between the package and package group.associationType
(PackageGroupAssociationType associationType) Describes the strength of the association between the package and package group.A format that specifies the type of the associated package.format
(PackageFormat format) A format that specifies the type of the associated package.The namespace of the associated package.packageValue
(String packageValue) The name of the associated package.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
-
format
A format that specifies the type of the associated package.
- Parameters:
format
- A format that specifies the type of the associated package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
A format that specifies the type of the associated package.
- Parameters:
format
- A format that specifies the type of the associated package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its
groupId
. -
The namespace of an npm or Swift package version is its
scope
. -
The namespace of a generic package is its
namespace
. -
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
- Parameters:
namespace
- The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:-
The namespace of a Maven package version is its
groupId
. -
The namespace of an npm or Swift package version is its
scope
. -
The namespace of a generic package is its
namespace
. -
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
The name of the associated package.
- Parameters:
packageValue
- The name of the associated package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationType
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
- Parameters:
associationType
- Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationType
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
- Parameters:
associationType
- Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-