@Generated(value="software.amazon.awssdk:codegen") public final class RepositoryFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryFilter.Builder,RepositoryFilter>
The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no filters are added, the contents of all repositories are replicated.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RepositoryFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filter()
The repository filter details.
|
RepositoryFilterType |
filterType()
The repository filter type.
|
String |
filterTypeAsString()
The repository filter type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RepositoryFilter.Builder> |
serializableBuilderClass() |
RepositoryFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String filter()
The repository filter details. When the PREFIX_MATCH filter type is specified, this value is
required and should be the repository name prefix to configure replication for.
PREFIX_MATCH filter type is specified, this value is
required and should be the repository name prefix to configure replication for.public final RepositoryFilterType filterType()
The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name
prefix specified with the filter parameter.
If the service returns an enum value that is not available in the current SDK version, filterType will
return RepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from filterTypeAsString().
PREFIX_MATCH, which is a repository
name prefix specified with the filter parameter.RepositoryFilterTypepublic final String filterTypeAsString()
The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name
prefix specified with the filter parameter.
If the service returns an enum value that is not available in the current SDK version, filterType will
return RepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from filterTypeAsString().
PREFIX_MATCH, which is a repository
name prefix specified with the filter parameter.RepositoryFilterTypepublic RepositoryFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RepositoryFilter.Builder,RepositoryFilter>public static RepositoryFilter.Builder builder()
public static Class<? extends RepositoryFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.