Package com.oracle.bmc.artifacts.model
Class ContainerImageLayer.Builder
- java.lang.Object
-
- com.oracle.bmc.artifacts.model.ContainerImageLayer.Builder
-
- Enclosing class:
- ContainerImageLayer
public static class ContainerImageLayer.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerImageLayer
build()
ContainerImageLayer.Builder
copy(ContainerImageLayer model)
ContainerImageLayer.Builder
digest(String digest)
The sha256 digest of the image layer.ContainerImageLayer.Builder
sizeInBytes(Long sizeInBytes)
The size of the layer in bytes.ContainerImageLayer.Builder
timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the layer was created.
-
-
-
Method Detail
-
digest
public ContainerImageLayer.Builder digest(String digest)
The sha256 digest of the image layer.- Parameters:
digest
- the value to set- Returns:
- this builder
-
sizeInBytes
public ContainerImageLayer.Builder sizeInBytes(Long sizeInBytes)
The size of the layer in bytes.- Parameters:
sizeInBytes
- the value to set- Returns:
- this builder
-
timeCreated
public ContainerImageLayer.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the layer was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public ContainerImageLayer build()
-
copy
public ContainerImageLayer.Builder copy(ContainerImageLayer model)
-
-