Class ListImageReferrersRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ecr.model.EcrRequest
-
- software.amazon.awssdk.services.ecr.model.ListImageReferrersRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListImageReferrersRequest.Builder,ListImageReferrersRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListImageReferrersRequest extends EcrRequest implements ToCopyableBuilder<ListImageReferrersRequest.Builder,ListImageReferrersRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListImageReferrersRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListImageReferrersRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ListImageReferrersFilterfilter()The filter key and value with which to filter yourListImageReferrersresults.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of image referrer results returned byListImageReferrersin paginated output.StringnextToken()ThenextTokenvalue returned from a previous paginatedListImageReferrersrequest wheremaxResultswas used and the results exceeded the value of that parameter.StringregistryId()The Amazon Web Services account ID associated with the registry that contains the repository in which to list image referrers.StringrepositoryName()The name of the repository that contains the subject image.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListImageReferrersRequest.Builder>serializableBuilderClass()SubjectIdentifiersubjectId()An object containing the image digest of the subject image for which to retrieve associated artifacts.ListImageReferrersRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
registryId
public final 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.
- Returns:
- 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.
-
repositoryName
public final String repositoryName()
The name of the repository that contains the subject image.
- Returns:
- The name of the repository that contains the subject image.
-
subjectId
public final SubjectIdentifier subjectId()
An object containing the image digest of the subject image for which to retrieve associated artifacts.
- Returns:
- An object containing the image digest of the subject image for which to retrieve associated artifacts.
-
filter
public final ListImageReferrersFilter filter()
The filter key and value with which to filter your
ListImageReferrersresults. If no filter is specified, only artifacts withACTIVEstatus are returned.- Returns:
- The filter key and value with which to filter your
ListImageReferrersresults. If no filter is specified, only artifacts withACTIVEstatus are returned.
-
nextToken
public final 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.
- Returns:
- 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.
-
maxResults
public final 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.- Returns:
- 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.
-
toBuilder
public ListImageReferrersRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListImageReferrersRequest.Builder,ListImageReferrersRequest>- Specified by:
toBuilderin classEcrRequest
-
builder
public static ListImageReferrersRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListImageReferrersRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-