software.amazon.awscdk.ValidationError 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.963Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.ValidationError")
public class ValidationError extends software.amazon.jsii.JsiiObject {
protected ValidationError(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
public ValidationError(final software.amazon.awscdk.IConstruct source, final java.lang.String message) {
super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(source, "source is required"), java.util.Objects.requireNonNull(message, "message is required") });
}
public java.lang.String getMessage() {
return this.jsiiGet("message", java.lang.String.class);
}
public software.amazon.awscdk.IConstruct getSource() {
return this.jsiiGet("source", software.amazon.awscdk.IConstruct.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy