Interface GetAssociatedPackageGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<GetAssociatedPackageGroupResponse.Builder,
,GetAssociatedPackageGroupResponse> SdkBuilder<GetAssociatedPackageGroupResponse.Builder,
,GetAssociatedPackageGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAssociatedPackageGroupResponse
public static interface GetAssociatedPackageGroupResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<GetAssociatedPackageGroupResponse.Builder,GetAssociatedPackageGroupResponse>
-
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.packageGroup
(Consumer<PackageGroupDescription.Builder> packageGroup) The package group that is associated with the requested package.packageGroup
(PackageGroupDescription packageGroup) The package group that is associated with the requested package.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
packageGroup
The package group that is associated with the requested package.
- Parameters:
packageGroup
- The package group that is associated with the requested package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageGroup
default GetAssociatedPackageGroupResponse.Builder packageGroup(Consumer<PackageGroupDescription.Builder> packageGroup) The package group that is associated with the requested package.
This is a convenience method that creates an instance of thePackageGroupDescription.Builder
avoiding the need to create one manually viaPackageGroupDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topackageGroup(PackageGroupDescription)
.- Parameters:
packageGroup
- a consumer that will call methods onPackageGroupDescription.Builder
- 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 is also known as an exact match, and a weak match is known as a relative match.
- Parameters:
associationType
- Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationType
GetAssociatedPackageGroupResponse.Builder associationType(PackageGroupAssociationType associationType) Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.
- Parameters:
associationType
- Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-