Interface AssociatedPackage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssociatedPackage.Builder,AssociatedPackage>,SdkBuilder<AssociatedPackage.Builder,AssociatedPackage>,SdkPojo
- Enclosing class:
- AssociatedPackage
public static interface AssociatedPackage.Builder extends SdkPojo, CopyableBuilder<AssociatedPackage.Builder,AssociatedPackage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociatedPackage.BuilderassociationType(String associationType)Describes the strength of the association between the package and package group.AssociatedPackage.BuilderassociationType(PackageGroupAssociationType associationType)Describes the strength of the association between the package and package group.AssociatedPackage.Builderformat(String format)A format that specifies the type of the associated package.AssociatedPackage.Builderformat(PackageFormat format)A format that specifies the type of the associated package.AssociatedPackage.Buildernamespace(String namespace)The namespace of the associated package.AssociatedPackage.BuilderpackageValue(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
format
AssociatedPackage.Builder format(String 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:
PackageFormat,PackageFormat
-
format
AssociatedPackage.Builder format(PackageFormat 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:
PackageFormat,PackageFormat
-
namespace
AssociatedPackage.Builder namespace(String 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
AssociatedPackage.Builder packageValue(String 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
AssociatedPackage.Builder associationType(String 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:
PackageGroupAssociationType,PackageGroupAssociationType
-
associationType
AssociatedPackage.Builder associationType(PackageGroupAssociationType 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:
PackageGroupAssociationType,PackageGroupAssociationType
-
-