@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.ImageLayerSortBypublic String getSortBy()
The value to sort results by.
ImageLayerSortBypublic ImageLayerAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy - The value to sort results by.ImageLayerSortBypublic ImageLayerAggregation withSortBy(ImageLayerSortBy sortBy)
The value to sort results by.
sortBy - The value to sort results by.ImageLayerSortBypublic void setSortOrder(String sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic String getSortOrder()
The order to sort results by.
SortOrderpublic ImageLayerAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic ImageLayerAggregation withSortOrder(SortOrder sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ImageLayerAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.