@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 filters are added, the contents of all repositories 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)
Marshalls this structured data using the given
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.RepositoryFilterType
public 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.RepositoryFilterType
public 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.RepositoryFilterType
public 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.RepositoryFilterType
public String toString()
toString
in class Object
Object.toString()
public RepositoryFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.