Class SigningRepositoryFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SigningRepositoryFilter.Builder,SigningRepositoryFilter>
A repository filter used to determine which repositories have their images automatically signed on push. Each filter consists of a filter type and filter value.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final Stringfilter()The filter value used to match repository names.The type of filter to apply.final StringThe type of filter to apply.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SigningRepositoryFilter.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 filter value used to match repository names. When using
WILDCARD_MATCH, the*character matches any sequence of characters.Examples:
-
myapp/*- Matches all repositories starting withmyapp/ -
*/production- Matches all repositories ending with/production -
*prod*- Matches all repositories containingprod
- Returns:
- The filter value used to match repository names. When using
WILDCARD_MATCH, the*character matches any sequence of characters.Examples:
-
myapp/*- Matches all repositories starting withmyapp/ -
*/production- Matches all repositories ending with/production -
*prod*- Matches all repositories containingprod
-
-
-
filterType
The type of filter to apply. Currently, only
WILDCARD_MATCHis supported, which uses wildcard patterns to match repository names.If the service returns an enum value that is not available in the current SDK version,
filterTypewill returnSigningRepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterTypeAsString().- Returns:
- The type of filter to apply. Currently, only
WILDCARD_MATCHis supported, which uses wildcard patterns to match repository names. - See Also:
-
filterTypeAsString
The type of filter to apply. Currently, only
WILDCARD_MATCHis supported, which uses wildcard patterns to match repository names.If the service returns an enum value that is not available in the current SDK version,
filterTypewill returnSigningRepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterTypeAsString().- Returns:
- The type of filter to apply. Currently, only
WILDCARD_MATCHis supported, which uses wildcard patterns to match repository names. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SigningRepositoryFilter.Builder,SigningRepositoryFilter>
-
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
-