@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryFilter extends Object implements Serializable, Cloneable, StructuredPojo
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 repository filter is specified, all images in the repository are replicated.
| Constructor and Description |
|---|
RepositoryFilter() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryFilter |
clone() |
boolean |
equals(Object obj) |
String |
getFilter()
The repository filter details.
|
String |
getFilterType()
The repository filter type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFilter(String filter)
The repository filter details.
|
void |
setFilterType(String filterType)
The repository filter type.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryFilter |
withFilter(String filter)
The repository filter details.
|
RepositoryFilter |
withFilterType(RepositoryFilterType filterType)
The repository filter type.
|
RepositoryFilter |
withFilterType(String filterType)
The repository filter type.
|
public void setFilter(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.
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.public String getFilter()
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 RepositoryFilter withFilter(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.
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.public void setFilterType(String filterType)
The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name
prefix specified with the filter parameter.
filterType - The repository filter type. The only supported value is PREFIX_MATCH, which is a repository
name prefix specified with the filter parameter.RepositoryFilterTypepublic String getFilterType()
The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name
prefix specified with the filter parameter.
PREFIX_MATCH, which is a repository
name prefix specified with the filter parameter.RepositoryFilterTypepublic RepositoryFilter withFilterType(String filterType)
The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name
prefix specified with the filter parameter.
filterType - The repository filter type. The only supported value is PREFIX_MATCH, which is a repository
name prefix specified with the filter parameter.RepositoryFilterTypepublic RepositoryFilter withFilterType(RepositoryFilterType filterType)
The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name
prefix specified with the filter parameter.
filterType - The repository filter type. The only supported value is PREFIX_MATCH, which is a repository
name prefix specified with the filter parameter.RepositoryFilterTypepublic String toString()
toString in class ObjectObject.toString()public RepositoryFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.