@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageLayerAggregation extends Object implements Serializable, Cloneable, StructuredPojo
The details that define an aggregation based on container image layers.
Constructor and Description |
---|
ImageLayerAggregation() |
Modifier and Type | Method and Description |
---|---|
ImageLayerAggregation |
clone() |
boolean |
equals(Object obj) |
List<StringFilter> |
getLayerHashes()
The hashes associated with the layers.
|
List<StringFilter> |
getRepositories()
The repository associated with the container image hosting the layers.
|
List<StringFilter> |
getResourceIds()
The ID of the container image layer.
|
String |
getSortBy()
The value to sort results by.
|
String |
getSortOrder()
The order to sort results by.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLayerHashes(Collection<StringFilter> layerHashes)
The hashes associated with the layers.
|
void |
setRepositories(Collection<StringFilter> repositories)
The repository associated with the container image hosting the layers.
|
void |
setResourceIds(Collection<StringFilter> resourceIds)
The ID of the container image layer.
|
void |
setSortBy(String sortBy)
The value to sort results by.
|
void |
setSortOrder(String sortOrder)
The order to sort results by.
|
String |
toString()
Returns a string representation of this object.
|
ImageLayerAggregation |
withLayerHashes(Collection<StringFilter> layerHashes)
The hashes associated with the layers.
|
ImageLayerAggregation |
withLayerHashes(StringFilter... layerHashes)
The hashes associated with the layers.
|
ImageLayerAggregation |
withRepositories(Collection<StringFilter> repositories)
The repository associated with the container image hosting the layers.
|
ImageLayerAggregation |
withRepositories(StringFilter... repositories)
The repository associated with the container image hosting the layers.
|
ImageLayerAggregation |
withResourceIds(Collection<StringFilter> resourceIds)
The ID of the container image layer.
|
ImageLayerAggregation |
withResourceIds(StringFilter... resourceIds)
The ID of the container image layer.
|
ImageLayerAggregation |
withSortBy(ImageLayerSortBy sortBy)
The value to sort results by.
|
ImageLayerAggregation |
withSortBy(String sortBy)
The value to sort results by.
|
ImageLayerAggregation |
withSortOrder(SortOrder sortOrder)
The order to sort results by.
|
ImageLayerAggregation |
withSortOrder(String sortOrder)
The order to sort results by.
|
public List<StringFilter> getLayerHashes()
The hashes associated with the layers.
public void setLayerHashes(Collection<StringFilter> layerHashes)
The hashes associated with the layers.
layerHashes
- The hashes associated with the layers.public ImageLayerAggregation withLayerHashes(StringFilter... layerHashes)
The hashes associated with the layers.
NOTE: This method appends the values to the existing list (if any). Use
setLayerHashes(java.util.Collection)
or withLayerHashes(java.util.Collection)
if you want to
override the existing values.
layerHashes
- The hashes associated with the layers.public ImageLayerAggregation withLayerHashes(Collection<StringFilter> layerHashes)
The hashes associated with the layers.
layerHashes
- The hashes associated with the layers.public List<StringFilter> getRepositories()
The repository associated with the container image hosting the layers.
public void setRepositories(Collection<StringFilter> repositories)
The repository associated with the container image hosting the layers.
repositories
- The repository associated with the container image hosting the layers.public ImageLayerAggregation withRepositories(StringFilter... repositories)
The repository associated with the container image hosting the layers.
NOTE: This method appends the values to the existing list (if any). Use
setRepositories(java.util.Collection)
or withRepositories(java.util.Collection)
if you want to
override the existing values.
repositories
- The repository associated with the container image hosting the layers.public ImageLayerAggregation withRepositories(Collection<StringFilter> repositories)
The repository associated with the container image hosting the layers.
repositories
- The repository associated with the container image hosting the layers.public List<StringFilter> getResourceIds()
The ID of the container image layer.
public void setResourceIds(Collection<StringFilter> resourceIds)
The ID of the container image layer.
resourceIds
- The ID of the container image layer.public ImageLayerAggregation withResourceIds(StringFilter... resourceIds)
The ID of the container image layer.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
or withResourceIds(java.util.Collection)
if you want to
override the existing values.
resourceIds
- The ID of the container image layer.public ImageLayerAggregation withResourceIds(Collection<StringFilter> resourceIds)
The ID of the container image layer.
resourceIds
- The ID of the container image layer.public void setSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.ImageLayerSortBy
public String getSortBy()
The value to sort results by.
ImageLayerSortBy
public ImageLayerAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.ImageLayerSortBy
public ImageLayerAggregation withSortBy(ImageLayerSortBy sortBy)
The value to sort results by.
sortBy
- The value to sort results by.ImageLayerSortBy
public void setSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public String getSortOrder()
The order to sort results by.
SortOrder
public ImageLayerAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public ImageLayerAggregation withSortOrder(SortOrder sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public String toString()
toString
in class Object
Object.toString()
public ImageLayerAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.