@Generated(value="software.amazon.awssdk:codegen") public final class DescribePullThroughCacheRulesRequest extends EcrRequest implements ToCopyableBuilder<DescribePullThroughCacheRulesRequest.Builder,DescribePullThroughCacheRulesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribePullThroughCacheRulesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribePullThroughCacheRulesRequest.Builder |
builder() |
List<String> |
ecrRepositoryPrefixes()
The Amazon ECR repository prefixes associated with the pull through cache rules to return.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEcrRepositoryPrefixes()
For responses, this returns true if the service returned a value for the EcrRepositoryPrefixes property.
|
int |
hashCode() |
Integer |
maxResults()
The maximum number of pull through cache rules returned by
DescribePullThroughCacheRulesRequest in
paginated output. |
String |
nextToken()
The
nextToken value returned from a previous paginated
DescribePullThroughCacheRulesRequest request where maxResults was used and the results
exceeded the value of that parameter. |
String |
registryId()
The Amazon Web Services account ID associated with the registry to return the pull through cache rules for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribePullThroughCacheRulesRequest.Builder> |
serializableBuilderClass() |
DescribePullThroughCacheRulesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String registryId()
The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.
public final boolean hasEcrRepositoryPrefixes()
isEmpty()
method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> ecrRepositoryPrefixes()
The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcrRepositoryPrefixes()
method.
public final String nextToken()
The nextToken
value returned from a previous paginated
DescribePullThroughCacheRulesRequest
request where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the
nextToken
value. This value is null when there are no more results to return.
nextToken
value returned from a previous paginated
DescribePullThroughCacheRulesRequest
request where maxResults
was used and the
results exceeded the value of that parameter. Pagination continues from the end of the previous results
that returned the nextToken
value. This value is null when there are no more results to
return.public final Integer maxResults()
The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest
in
paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest
only returns
maxResults
results in a single page along with a nextToken
response element. The
remaining results of the initial request can be seen by sending another
DescribePullThroughCacheRulesRequest
request with the returned nextToken
value. This
value can be between 1 and 1000. If this parameter is not used, then
DescribePullThroughCacheRulesRequest
returns up to 100 results and a nextToken
value,
if applicable.
DescribePullThroughCacheRulesRequest
in paginated output. When this parameter is used,
DescribePullThroughCacheRulesRequest
only returns maxResults
results in a
single page along with a nextToken
response element. The remaining results of the initial
request can be seen by sending another DescribePullThroughCacheRulesRequest
request with the
returned nextToken
value. This value can be between 1 and 1000. If this parameter is not
used, then DescribePullThroughCacheRulesRequest
returns up to 100 results and a
nextToken
value, if applicable.public DescribePullThroughCacheRulesRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DescribePullThroughCacheRulesRequest.Builder,DescribePullThroughCacheRulesRequest>
toBuilder
in class EcrRequest
public static DescribePullThroughCacheRulesRequest.Builder builder()
public static Class<? extends DescribePullThroughCacheRulesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.