@Stability(value=Experimental) @Internal public static final class SampleFileOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SampleFileOptions
SampleFileOptionssoftware.amazon.jsii.JsiiObject.InitializationModeSampleFileOptions.Builder, SampleFileOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(SampleFileOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SampleFileOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getContents()
(experimental) The contents of the file to write.
|
String |
getSourcePath()
(experimental) Absolute path to a file to copy the contents from (does not need to be a text file).
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(SampleFileOptions.Builder builder)
SampleFileOptions.Builder.public final String getContents()
SampleFileOptionsgetContents in interface SampleFileOptionspublic final String getSourcePath()
SampleFileOptions
If your project is Typescript-based and has configured testdir to be a
subdirectory of src, sample files should outside of the src directory,
otherwise they may not be copied. For example:
new SampleFile(this, 'assets/icon.png', { source: path.join(__dirname, '..', 'sample-assets', 'icon.png') });
getSourcePath in interface SampleFileOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.