Interface ListAssociatedPackagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeartifactRequest.Builder
,CopyableBuilder<ListAssociatedPackagesRequest.Builder,
,ListAssociatedPackagesRequest> SdkBuilder<ListAssociatedPackagesRequest.Builder,
,ListAssociatedPackagesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAssociatedPackagesRequest
public static interface ListAssociatedPackagesRequest.Builder
extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<ListAssociatedPackagesRequest.Builder,ListAssociatedPackagesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain that contains the package group from which to list associated packages.domainOwner
(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.maxResults
(Integer maxResults) The maximum number of results to return per page.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageGroup
(String packageGroup) The pattern of the package group from which to list associated packages.When this flag is included,ListAssociatedPackages
will return a list of packages that would be associated with a package group, even if it does not exist.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
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
-
domain
The name of the domain that contains the package group from which to list associated packages.
- Parameters:
domain
- The name of the domain that contains the package group from which to list associated packages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainOwner
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- Parameters:
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageGroup
The pattern of the package group from which to list associated packages.
- Parameters:
packageGroup
- The pattern of the package group from which to list associated packages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults
- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preview
When this flag is included,
ListAssociatedPackages
will return a list of packages that would be associated with a package group, even if it does not exist.- Parameters:
preview
- When this flag is included,ListAssociatedPackages
will return a list of packages that would be associated with a package group, even if it does not exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAssociatedPackagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListAssociatedPackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-