Class RepositoryFilter
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryFilter.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final Stringfilter()The repository filter details.final RepositoryFilterTypeThe repository filter type.final StringThe repository filter type.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends RepositoryFilter.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
filter
The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for.- Returns:
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for.
-
filterType
The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.If the service returns an enum value that is not available in the current SDK version,
filterTypewill returnRepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterTypeAsString().- Returns:
- The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter. - See Also:
-
filterTypeAsString
The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.If the service returns an enum value that is not available in the current SDK version,
filterTypewill returnRepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterTypeAsString().- Returns:
- The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RepositoryFilter.Builder,RepositoryFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-