Package software.amazon.awscdk
Class DockerBuildOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.DockerBuildOptions.Jsii$Proxy
- All Implemented Interfaces:
DockerBuildOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DockerBuildOptions
@Stability(Stable)
@Internal
public static final class DockerBuildOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements DockerBuildOptions
An implementation for
DockerBuildOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.DockerBuildOptions
DockerBuildOptions.Builder, DockerBuildOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DockerBuildOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerBuildOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanBuild args.final BooleanDisable the cache and pass--no-cacheto thedocker buildcommand.final List<DockerCacheOption> Cache from options to pass to thedocker buildcommand.final DockerCacheOptionCache to options to pass to thedocker buildcommand.final StringgetFile()Name of the Dockerfile, must relative to the docker build path.final StringDocker Networking options.final StringSet platform if server is multi-platform capable.final StringSet build target for multi-stage container builds.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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
Constructor that initializes the object based on literal property values passed by theDockerBuildOptions.Builder.
-
-
Method Details
-
getBuildArgs
Description copied from interface:DockerBuildOptionsBuild args.Default: - no build args
- Specified by:
getBuildArgsin interfaceDockerBuildOptions
-
getCacheDisabled
Description copied from interface:DockerBuildOptionsDisable the cache and pass--no-cacheto thedocker buildcommand.Default: - cache is used
- Specified by:
getCacheDisabledin interfaceDockerBuildOptions
-
getCacheFrom
Description copied from interface:DockerBuildOptionsCache from options to pass to thedocker buildcommand.Default: - no cache from args are passed
- Specified by:
getCacheFromin interfaceDockerBuildOptions
-
getCacheTo
Description copied from interface:DockerBuildOptionsCache to options to pass to thedocker buildcommand.Default: - no cache to args are passed
- Specified by:
getCacheToin interfaceDockerBuildOptions
-
getFile
Description copied from interface:DockerBuildOptionsName of the Dockerfile, must relative to the docker build path.Default: `Dockerfile`
- Specified by:
getFilein interfaceDockerBuildOptions
-
getNetwork
Description copied from interface:DockerBuildOptionsDocker Networking options.Default: - no networking options
- Specified by:
getNetworkin interfaceDockerBuildOptions
-
getPlatform
Description copied from interface:DockerBuildOptionsSet platform if server is multi-platform capable. Requires Docker Engine API v1.38+.Example value:
linux/amd64Default: - no platform specified
- Specified by:
getPlatformin interfaceDockerBuildOptions
-
getTargetStage
Description copied from interface:DockerBuildOptionsSet build target for multi-stage container builds. Any stage defined afterwards will be ignored.Example value:
build-envDefault: - Build all stages defined in the Dockerfile
- Specified by:
getTargetStagein interfaceDockerBuildOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-