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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAssociatedPackageGroupResponse.BuilderassociationType(String associationType)Describes the strength of the association between the package and package group.GetAssociatedPackageGroupResponse.BuilderassociationType(PackageGroupAssociationType associationType)Describes the strength of the association between the package and package group.default GetAssociatedPackageGroupResponse.BuilderpackageGroup(Consumer<PackageGroupDescription.Builder> packageGroup)The package group that is associated with the requested package.GetAssociatedPackageGroupResponse.BuilderpackageGroup(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
packageGroup
GetAssociatedPackageGroupResponse.Builder packageGroup(PackageGroupDescription 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.Builderavoiding the need to create one manually viaPackageGroupDescription.builder().When the
Consumercompletes,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:
packageGroup(PackageGroupDescription)
-
associationType
GetAssociatedPackageGroupResponse.Builder associationType(String 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:
PackageGroupAssociationType,PackageGroupAssociationType
-
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:
PackageGroupAssociationType,PackageGroupAssociationType
-
-