Interface ListImageReferrersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListImageReferrersRequest.Builder,ListImageReferrersRequest>,EcrRequest.Builder,SdkBuilder<ListImageReferrersRequest.Builder,ListImageReferrersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListImageReferrersRequest
@Mutable @NotThreadSafe public static interface ListImageReferrersRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<ListImageReferrersRequest.Builder,ListImageReferrersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListImageReferrersRequest.Builderfilter(Consumer<ListImageReferrersFilter.Builder> filter)The filter key and value with which to filter yourListImageReferrersresults.ListImageReferrersRequest.Builderfilter(ListImageReferrersFilter filter)The filter key and value with which to filter yourListImageReferrersresults.ListImageReferrersRequest.BuildermaxResults(Integer maxResults)The maximum number of image referrer results returned byListImageReferrersin paginated output.ListImageReferrersRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListImageReferrersrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListImageReferrersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListImageReferrersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListImageReferrersRequest.BuilderregistryId(String registryId)The Amazon Web Services account ID associated with the registry that contains the repository in which to list image referrers.ListImageReferrersRequest.BuilderrepositoryName(String repositoryName)The name of the repository that contains the subject image.default ListImageReferrersRequest.BuildersubjectId(Consumer<SubjectIdentifier.Builder> subjectId)An object containing the image digest of the subject image for which to retrieve associated artifacts.ListImageReferrersRequest.BuildersubjectId(SubjectIdentifier subjectId)An object containing the image digest of the subject image for which to retrieve associated artifacts.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
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
-
registryId
ListImageReferrersRequest.Builder registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to list image referrers. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The Amazon Web Services account ID associated with the registry that contains the repository in which to list image referrers. If you do not specify a registry, the default registry is assumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
ListImageReferrersRequest.Builder repositoryName(String repositoryName)
The name of the repository that contains the subject image.
- Parameters:
repositoryName- The name of the repository that contains the subject image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectId
ListImageReferrersRequest.Builder subjectId(SubjectIdentifier subjectId)
An object containing the image digest of the subject image for which to retrieve associated artifacts.
- Parameters:
subjectId- An object containing the image digest of the subject image for which to retrieve associated artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectId
default ListImageReferrersRequest.Builder subjectId(Consumer<SubjectIdentifier.Builder> subjectId)
An object containing the image digest of the subject image for which to retrieve associated artifacts.
This is a convenience method that creates an instance of theSubjectIdentifier.Builderavoiding the need to create one manually viaSubjectIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubjectId(SubjectIdentifier).- Parameters:
subjectId- a consumer that will call methods onSubjectIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subjectId(SubjectIdentifier)
-
filter
ListImageReferrersRequest.Builder filter(ListImageReferrersFilter filter)
The filter key and value with which to filter your
ListImageReferrersresults. If no filter is specified, only artifacts withACTIVEstatus are returned.- Parameters:
filter- The filter key and value with which to filter yourListImageReferrersresults. If no filter is specified, only artifacts withACTIVEstatus are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListImageReferrersRequest.Builder filter(Consumer<ListImageReferrersFilter.Builder> filter)
The filter key and value with which to filter your
This is a convenience method that creates an instance of theListImageReferrersresults. If no filter is specified, only artifacts withACTIVEstatus are returned.ListImageReferrersFilter.Builderavoiding the need to create one manually viaListImageReferrersFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ListImageReferrersFilter).- Parameters:
filter- a consumer that will call methods onListImageReferrersFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(ListImageReferrersFilter)
-
nextToken
ListImageReferrersRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListImageReferrersrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListImageReferrersrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListImageReferrersRequest.Builder maxResults(Integer maxResults)
The maximum number of image referrer results returned by
ListImageReferrersin paginated output. When this parameter is used,ListImageReferrersonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImageReferrersrequest with the returnednextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenListImageReferrersreturns up to 50 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of image referrer results returned byListImageReferrersin paginated output. When this parameter is used,ListImageReferrersonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImageReferrersrequest with the returnednextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenListImageReferrersreturns up to 50 results and anextTokenvalue, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListImageReferrersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListImageReferrersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-