StructuredPojo
, ToCopyableBuilder<Layer.Builder,Layer>
@Generated("software.amazon.awssdk:codegen") public class Layer extends Object implements StructuredPojo, ToCopyableBuilder<Layer.Builder,Layer>
An object representing an Amazon ECR image layer.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Layer.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Layer.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
layerAvailability() |
The availability status of the image layer.
|
String |
layerDigest() |
The
sha256 digest of the image layer. |
Long |
layerSize() |
The size, in bytes, of the image layer.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
mediaType() |
The media type of the layer, such as
application/vnd.docker.image.rootfs.diff.tar.gzip or
application/vnd.oci.image.layer.v1.tar+gzip . |
static Class<? extends Layer.Builder> |
serializableBuilderClass() |
|
Layer.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String layerDigest()
The sha256
digest of the image layer.
sha256
digest of the image layer.public String layerAvailability()
The availability status of the image layer.
LayerAvailability
public Long layerSize()
The size, in bytes, of the image layer.
public String mediaType()
The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip
or
application/vnd.oci.image.layer.v1.tar+gzip
.
application/vnd.docker.image.rootfs.diff.tar.gzip
or
application/vnd.oci.image.layer.v1.tar+gzip
.public Layer.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Layer.Builder,Layer>
public static Layer.Builder builder()
public static Class<? extends Layer.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.