software.amazon.awscdk.SynthesisSession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk Show documentation
Show all versions of cdk Show documentation
AWS Cloud Development Kit Core Library
package software.amazon.awscdk;
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.960Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.SynthesisSession")
public class SynthesisSession extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.ISynthesisSession {
protected SynthesisSession(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
public SynthesisSession(final software.amazon.awscdk.SynthesisOptions options) {
super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* @return true if `obj` implements `ISynthesizable`.
*/
public static java.lang.Boolean isSynthesizable(@javax.annotation.Nullable final java.lang.Object obj) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.SynthesisSession.class, "isSynthesizable", java.lang.Boolean.class, new Object[] { obj });
}
@Override
public void addArtifact(final java.lang.String id, final software.amazon.awscdk.cxapi.Artifact artifact) {
this.jsiiCall("addArtifact", Void.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(artifact, "artifact is required") });
}
@Override
public void addBuildStep(final java.lang.String id, final software.amazon.awscdk.cxapi.BuildStep step) {
this.jsiiCall("addBuildStep", Void.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(step, "step is required") });
}
public software.amazon.awscdk.cxapi.AssemblyManifest close(@javax.annotation.Nullable final software.amazon.awscdk.ManifestOptions options) {
return this.jsiiCall("close", software.amazon.awscdk.cxapi.AssemblyManifest.class, new Object[] { options });
}
public software.amazon.awscdk.cxapi.AssemblyManifest close() {
return this.jsiiCall("close", software.amazon.awscdk.cxapi.AssemblyManifest.class);
}
@Override
public software.amazon.awscdk.cxapi.Artifact getArtifact(final java.lang.String id) {
return this.jsiiCall("getArtifact", software.amazon.awscdk.cxapi.Artifact.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required") });
}
@Override
@javax.annotation.Nullable
public software.amazon.awscdk.cxapi.Artifact tryGetArtifact(final java.lang.String id) {
return this.jsiiCall("tryGetArtifact", software.amazon.awscdk.cxapi.Artifact.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required") });
}
@Override
public software.amazon.awscdk.cxapi.AssemblyManifest getManifest() {
return this.jsiiGet("manifest", software.amazon.awscdk.cxapi.AssemblyManifest.class);
}
@Override
public software.amazon.awscdk.ISessionStore getStore() {
return this.jsiiGet("store", software.amazon.awscdk.ISessionStore.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy