Class DockerCacheOption.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.amazon.awscdk.cloudassembly.schema.DockerCacheOption.Jsii$Proxy
-
- All Implemented Interfaces:
DockerCacheOption,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DockerCacheOption
@Stability(Stable) @Internal public static final class DockerCacheOption.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerCacheOption
An implementation forDockerCacheOption
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.amazon.awscdk.cloudassembly.schema.DockerCacheOption
DockerCacheOption.Builder, DockerCacheOption.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(DockerCacheOption.Builder builder)Constructor that initializes the object based on literal property values passed by theDockerCacheOption.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)Map<String,String>getParams()Any parameters to pass into the docker cache backend configuration.StringgetType()The type of cache to use.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(DockerCacheOption.Builder builder)
Constructor that initializes the object based on literal property values passed by theDockerCacheOption.Builder.
-
-
Method Detail
-
getType
public final String getType()
Description copied from interface:DockerCacheOptionThe type of cache to use.Refer to https://docs.docker.com/build/cache/backends/ for full list of backends.
Default: - unspecified
Example:
"registry";
- Specified by:
getTypein interfaceDockerCacheOption
-
getParams
public final Map<String,String> getParams()
Description copied from interface:DockerCacheOptionAny parameters to pass into the docker cache backend configuration.Refer to https://docs.docker.com/build/cache/backends/ for cache backend configuration.
Default: {} No options provided
Example:
String branch; Map<String, Object> params = Map.of( "ref", String.format("12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%s", branch), "mode", "max");- Specified by:
getParamsin interfaceDockerCacheOption
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-