Interface ListImageReferrersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListImageReferrersResponse.Builder,,ListImageReferrersResponse> EcrResponse.Builder,SdkBuilder<ListImageReferrersResponse.Builder,,ListImageReferrersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListImageReferrersResponse
@Mutable
@NotThreadSafe
public static interface ListImageReferrersResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<ListImageReferrersResponse.Builder,ListImageReferrersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureListImageReferrersrequest.referrers(Collection<ImageReferrer> referrers) The list of artifacts associated with the subject image.referrers(Consumer<ImageReferrer.Builder>... referrers) The list of artifacts associated with the subject image.referrers(ImageReferrer... referrers) The list of artifacts associated with the subject image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
referrers
The list of artifacts associated with the subject image.
- Parameters:
referrers- The list of artifacts associated with the subject image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referrers
The list of artifacts associated with the subject image.
- Parameters:
referrers- The list of artifacts associated with the subject image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referrers
The list of artifacts associated with the subject image.
This is a convenience method that creates an instance of theImageReferrer.Builderavoiding the need to create one manually viaImageReferrer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferrers(List<ImageReferrer>).- Parameters:
referrers- a consumer that will call methods onImageReferrer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureListImageReferrersrequest. When the results of aListImageReferrersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListImageReferrersrequest. When the results of aListImageReferrersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-