software.amazon.awscdk.cli.lib.alpha.SynthOptions Maven / Gradle / Ivy
Show all versions of cdk-cli-lib-alpha Show documentation
package software.amazon.awscdk.cli.lib.alpha;
/**
* (experimental) Options to use with cdk synth.
*
* Example:
*
*
* // await this asynchronous method call using a language feature
* cli.synth(SynthOptions.builder()
* .stacks(List.of("MyTestStack"))
* .build());
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-21T22:36:36.583Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.cli.lib.alpha.$Module.class, fqn = "@aws-cdk/cli-lib-alpha.SynthOptions")
@software.amazon.jsii.Jsii.Proxy(SynthOptions.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface SynthOptions extends software.amazon.jsii.JsiiSerializable, software.amazon.awscdk.cli.lib.alpha.SharedOptions {
/**
* (experimental) Only synthesize the given stack.
*
* Default: false
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable java.lang.Boolean getExclusively() {
return null;
}
/**
* (experimental) Do not output CloudFormation Template to stdout.
*
* Default: false;
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable java.lang.Boolean getQuiet() {
return null;
}
/**
* (experimental) After synthesis, validate stacks with the "validateOnSynth" attribute set (can also be controlled with CDK_VALIDATION).
*
* Default: true;
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable java.lang.Boolean getValidation() {
return null;
}
/**
* @return a {@link Builder} of {@link SynthOptions}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link SynthOptions}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.Boolean exclusively;
java.lang.Boolean quiet;
java.lang.Boolean validation;
java.lang.Boolean assetMetadata;
java.lang.String caBundlePath;
java.lang.Boolean color;
java.util.Map context;
java.lang.Boolean debug;
java.lang.Boolean ec2Creds;
java.lang.Boolean ignoreErrors;
java.lang.Boolean json;
java.lang.Boolean lookups;
java.lang.Boolean notices;
java.lang.Boolean pathMetadata;
java.lang.String profile;
java.lang.String proxy;
java.lang.String roleArn;
java.util.List stacks;
java.lang.Boolean staging;
java.lang.Boolean strict;
java.lang.Boolean trace;
java.lang.Boolean verbose;
java.lang.Boolean versionReporting;
/**
* Sets the value of {@link SynthOptions#getExclusively}
* @param exclusively Only synthesize the given stack.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder exclusively(java.lang.Boolean exclusively) {
this.exclusively = exclusively;
return this;
}
/**
* Sets the value of {@link SynthOptions#getQuiet}
* @param quiet Do not output CloudFormation Template to stdout.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder quiet(java.lang.Boolean quiet) {
this.quiet = quiet;
return this;
}
/**
* Sets the value of {@link SynthOptions#getValidation}
* @param validation After synthesis, validate stacks with the "validateOnSynth" attribute set (can also be controlled with CDK_VALIDATION).
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder validation(java.lang.Boolean validation) {
this.validation = validation;
return this;
}
/**
* Sets the value of {@link SynthOptions#getAssetMetadata}
* @param assetMetadata Include "aws:asset:*" CloudFormation metadata for resources that use assets.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder assetMetadata(java.lang.Boolean assetMetadata) {
this.assetMetadata = assetMetadata;
return this;
}
/**
* Sets the value of {@link SynthOptions#getCaBundlePath}
* @param caBundlePath Path to CA certificate to use when validating HTTPS requests.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder caBundlePath(java.lang.String caBundlePath) {
this.caBundlePath = caBundlePath;
return this;
}
/**
* Sets the value of {@link SynthOptions#getColor}
* @param color Show colors and other style from console output.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder color(java.lang.Boolean color) {
this.color = color;
return this;
}
/**
* Sets the value of {@link SynthOptions#getContext}
* @param context Additional context.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder context(java.util.Map context) {
this.context = context;
return this;
}
/**
* Sets the value of {@link SynthOptions#getDebug}
* @param debug enable emission of additional debugging information, such as creation stack traces of tokens.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder debug(java.lang.Boolean debug) {
this.debug = debug;
return this;
}
/**
* Sets the value of {@link SynthOptions#getEc2Creds}
* @param ec2Creds Force trying to fetch EC2 instance credentials.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder ec2Creds(java.lang.Boolean ec2Creds) {
this.ec2Creds = ec2Creds;
return this;
}
/**
* Sets the value of {@link SynthOptions#getIgnoreErrors}
* @param ignoreErrors Ignores synthesis errors, which will likely produce an invalid output.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder ignoreErrors(java.lang.Boolean ignoreErrors) {
this.ignoreErrors = ignoreErrors;
return this;
}
/**
* Sets the value of {@link SynthOptions#getJson}
* @param json Use JSON output instead of YAML when templates are printed to STDOUT.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder json(java.lang.Boolean json) {
this.json = json;
return this;
}
/**
* Sets the value of {@link SynthOptions#getLookups}
* @param lookups Perform context lookups.
* Synthesis fails if this is disabled and context lookups need
* to be performed
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder lookups(java.lang.Boolean lookups) {
this.lookups = lookups;
return this;
}
/**
* Sets the value of {@link SynthOptions#getNotices}
* @param notices Show relevant notices.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder notices(java.lang.Boolean notices) {
this.notices = notices;
return this;
}
/**
* Sets the value of {@link SynthOptions#getPathMetadata}
* @param pathMetadata Include "aws:cdk:path" CloudFormation metadata for each resource.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder pathMetadata(java.lang.Boolean pathMetadata) {
this.pathMetadata = pathMetadata;
return this;
}
/**
* Sets the value of {@link SynthOptions#getProfile}
* @param profile Use the indicated AWS profile as the default environment.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder profile(java.lang.String profile) {
this.profile = profile;
return this;
}
/**
* Sets the value of {@link SynthOptions#getProxy}
* @param proxy Use the indicated proxy.
* Will read from
* HTTPS_PROXY environment if specified
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder proxy(java.lang.String proxy) {
this.proxy = proxy;
return this;
}
/**
* Sets the value of {@link SynthOptions#getRoleArn}
* @param roleArn Role to pass to CloudFormation for deployment.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder roleArn(java.lang.String roleArn) {
this.roleArn = roleArn;
return this;
}
/**
* Sets the value of {@link SynthOptions#getStacks}
* @param stacks List of stacks to deploy.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder stacks(java.util.List stacks) {
this.stacks = stacks;
return this;
}
/**
* Sets the value of {@link SynthOptions#getStaging}
* @param staging Copy assets to the output directory.
* Needed for local debugging the source files with SAM CLI
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder staging(java.lang.Boolean staging) {
this.staging = staging;
return this;
}
/**
* Sets the value of {@link SynthOptions#getStrict}
* @param strict Do not construct stacks with warnings.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder strict(java.lang.Boolean strict) {
this.strict = strict;
return this;
}
/**
* Sets the value of {@link SynthOptions#getTrace}
* @param trace Print trace for stack warnings.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder trace(java.lang.Boolean trace) {
this.trace = trace;
return this;
}
/**
* Sets the value of {@link SynthOptions#getVerbose}
* @param verbose show debug logs.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder verbose(java.lang.Boolean verbose) {
this.verbose = verbose;
return this;
}
/**
* Sets the value of {@link SynthOptions#getVersionReporting}
* @param versionReporting Include "AWS::CDK::Metadata" resource in synthesized templates.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder versionReporting(java.lang.Boolean versionReporting) {
this.versionReporting = versionReporting;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link SynthOptions}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public SynthOptions build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link SynthOptions}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SynthOptions {
private final java.lang.Boolean exclusively;
private final java.lang.Boolean quiet;
private final java.lang.Boolean validation;
private final java.lang.Boolean assetMetadata;
private final java.lang.String caBundlePath;
private final java.lang.Boolean color;
private final java.util.Map context;
private final java.lang.Boolean debug;
private final java.lang.Boolean ec2Creds;
private final java.lang.Boolean ignoreErrors;
private final java.lang.Boolean json;
private final java.lang.Boolean lookups;
private final java.lang.Boolean notices;
private final java.lang.Boolean pathMetadata;
private final java.lang.String profile;
private final java.lang.String proxy;
private final java.lang.String roleArn;
private final java.util.List stacks;
private final java.lang.Boolean staging;
private final java.lang.Boolean strict;
private final java.lang.Boolean trace;
private final java.lang.Boolean verbose;
private final java.lang.Boolean versionReporting;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.exclusively = software.amazon.jsii.Kernel.get(this, "exclusively", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.quiet = software.amazon.jsii.Kernel.get(this, "quiet", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.validation = software.amazon.jsii.Kernel.get(this, "validation", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.assetMetadata = software.amazon.jsii.Kernel.get(this, "assetMetadata", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.caBundlePath = software.amazon.jsii.Kernel.get(this, "caBundlePath", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.color = software.amazon.jsii.Kernel.get(this, "color", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.context = software.amazon.jsii.Kernel.get(this, "context", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.debug = software.amazon.jsii.Kernel.get(this, "debug", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.ec2Creds = software.amazon.jsii.Kernel.get(this, "ec2Creds", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.ignoreErrors = software.amazon.jsii.Kernel.get(this, "ignoreErrors", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.json = software.amazon.jsii.Kernel.get(this, "json", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.lookups = software.amazon.jsii.Kernel.get(this, "lookups", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.notices = software.amazon.jsii.Kernel.get(this, "notices", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.pathMetadata = software.amazon.jsii.Kernel.get(this, "pathMetadata", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.profile = software.amazon.jsii.Kernel.get(this, "profile", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.proxy = software.amazon.jsii.Kernel.get(this, "proxy", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.roleArn = software.amazon.jsii.Kernel.get(this, "roleArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.stacks = software.amazon.jsii.Kernel.get(this, "stacks", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.staging = software.amazon.jsii.Kernel.get(this, "staging", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.strict = software.amazon.jsii.Kernel.get(this, "strict", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.trace = software.amazon.jsii.Kernel.get(this, "trace", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.verbose = software.amazon.jsii.Kernel.get(this, "verbose", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.versionReporting = software.amazon.jsii.Kernel.get(this, "versionReporting", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.exclusively = builder.exclusively;
this.quiet = builder.quiet;
this.validation = builder.validation;
this.assetMetadata = builder.assetMetadata;
this.caBundlePath = builder.caBundlePath;
this.color = builder.color;
this.context = builder.context;
this.debug = builder.debug;
this.ec2Creds = builder.ec2Creds;
this.ignoreErrors = builder.ignoreErrors;
this.json = builder.json;
this.lookups = builder.lookups;
this.notices = builder.notices;
this.pathMetadata = builder.pathMetadata;
this.profile = builder.profile;
this.proxy = builder.proxy;
this.roleArn = builder.roleArn;
this.stacks = builder.stacks;
this.staging = builder.staging;
this.strict = builder.strict;
this.trace = builder.trace;
this.verbose = builder.verbose;
this.versionReporting = builder.versionReporting;
}
@Override
public final java.lang.Boolean getExclusively() {
return this.exclusively;
}
@Override
public final java.lang.Boolean getQuiet() {
return this.quiet;
}
@Override
public final java.lang.Boolean getValidation() {
return this.validation;
}
@Override
public final java.lang.Boolean getAssetMetadata() {
return this.assetMetadata;
}
@Override
public final java.lang.String getCaBundlePath() {
return this.caBundlePath;
}
@Override
public final java.lang.Boolean getColor() {
return this.color;
}
@Override
public final java.util.Map getContext() {
return this.context;
}
@Override
public final java.lang.Boolean getDebug() {
return this.debug;
}
@Override
public final java.lang.Boolean getEc2Creds() {
return this.ec2Creds;
}
@Override
public final java.lang.Boolean getIgnoreErrors() {
return this.ignoreErrors;
}
@Override
public final java.lang.Boolean getJson() {
return this.json;
}
@Override
public final java.lang.Boolean getLookups() {
return this.lookups;
}
@Override
public final java.lang.Boolean getNotices() {
return this.notices;
}
@Override
public final java.lang.Boolean getPathMetadata() {
return this.pathMetadata;
}
@Override
public final java.lang.String getProfile() {
return this.profile;
}
@Override
public final java.lang.String getProxy() {
return this.proxy;
}
@Override
public final java.lang.String getRoleArn() {
return this.roleArn;
}
@Override
public final java.util.List getStacks() {
return this.stacks;
}
@Override
public final java.lang.Boolean getStaging() {
return this.staging;
}
@Override
public final java.lang.Boolean getStrict() {
return this.strict;
}
@Override
public final java.lang.Boolean getTrace() {
return this.trace;
}
@Override
public final java.lang.Boolean getVerbose() {
return this.verbose;
}
@Override
public final java.lang.Boolean getVersionReporting() {
return this.versionReporting;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getExclusively() != null) {
data.set("exclusively", om.valueToTree(this.getExclusively()));
}
if (this.getQuiet() != null) {
data.set("quiet", om.valueToTree(this.getQuiet()));
}
if (this.getValidation() != null) {
data.set("validation", om.valueToTree(this.getValidation()));
}
if (this.getAssetMetadata() != null) {
data.set("assetMetadata", om.valueToTree(this.getAssetMetadata()));
}
if (this.getCaBundlePath() != null) {
data.set("caBundlePath", om.valueToTree(this.getCaBundlePath()));
}
if (this.getColor() != null) {
data.set("color", om.valueToTree(this.getColor()));
}
if (this.getContext() != null) {
data.set("context", om.valueToTree(this.getContext()));
}
if (this.getDebug() != null) {
data.set("debug", om.valueToTree(this.getDebug()));
}
if (this.getEc2Creds() != null) {
data.set("ec2Creds", om.valueToTree(this.getEc2Creds()));
}
if (this.getIgnoreErrors() != null) {
data.set("ignoreErrors", om.valueToTree(this.getIgnoreErrors()));
}
if (this.getJson() != null) {
data.set("json", om.valueToTree(this.getJson()));
}
if (this.getLookups() != null) {
data.set("lookups", om.valueToTree(this.getLookups()));
}
if (this.getNotices() != null) {
data.set("notices", om.valueToTree(this.getNotices()));
}
if (this.getPathMetadata() != null) {
data.set("pathMetadata", om.valueToTree(this.getPathMetadata()));
}
if (this.getProfile() != null) {
data.set("profile", om.valueToTree(this.getProfile()));
}
if (this.getProxy() != null) {
data.set("proxy", om.valueToTree(this.getProxy()));
}
if (this.getRoleArn() != null) {
data.set("roleArn", om.valueToTree(this.getRoleArn()));
}
if (this.getStacks() != null) {
data.set("stacks", om.valueToTree(this.getStacks()));
}
if (this.getStaging() != null) {
data.set("staging", om.valueToTree(this.getStaging()));
}
if (this.getStrict() != null) {
data.set("strict", om.valueToTree(this.getStrict()));
}
if (this.getTrace() != null) {
data.set("trace", om.valueToTree(this.getTrace()));
}
if (this.getVerbose() != null) {
data.set("verbose", om.valueToTree(this.getVerbose()));
}
if (this.getVersionReporting() != null) {
data.set("versionReporting", om.valueToTree(this.getVersionReporting()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@aws-cdk/cli-lib-alpha.SynthOptions"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SynthOptions.Jsii$Proxy that = (SynthOptions.Jsii$Proxy) o;
if (this.exclusively != null ? !this.exclusively.equals(that.exclusively) : that.exclusively != null) return false;
if (this.quiet != null ? !this.quiet.equals(that.quiet) : that.quiet != null) return false;
if (this.validation != null ? !this.validation.equals(that.validation) : that.validation != null) return false;
if (this.assetMetadata != null ? !this.assetMetadata.equals(that.assetMetadata) : that.assetMetadata != null) return false;
if (this.caBundlePath != null ? !this.caBundlePath.equals(that.caBundlePath) : that.caBundlePath != null) return false;
if (this.color != null ? !this.color.equals(that.color) : that.color != null) return false;
if (this.context != null ? !this.context.equals(that.context) : that.context != null) return false;
if (this.debug != null ? !this.debug.equals(that.debug) : that.debug != null) return false;
if (this.ec2Creds != null ? !this.ec2Creds.equals(that.ec2Creds) : that.ec2Creds != null) return false;
if (this.ignoreErrors != null ? !this.ignoreErrors.equals(that.ignoreErrors) : that.ignoreErrors != null) return false;
if (this.json != null ? !this.json.equals(that.json) : that.json != null) return false;
if (this.lookups != null ? !this.lookups.equals(that.lookups) : that.lookups != null) return false;
if (this.notices != null ? !this.notices.equals(that.notices) : that.notices != null) return false;
if (this.pathMetadata != null ? !this.pathMetadata.equals(that.pathMetadata) : that.pathMetadata != null) return false;
if (this.profile != null ? !this.profile.equals(that.profile) : that.profile != null) return false;
if (this.proxy != null ? !this.proxy.equals(that.proxy) : that.proxy != null) return false;
if (this.roleArn != null ? !this.roleArn.equals(that.roleArn) : that.roleArn != null) return false;
if (this.stacks != null ? !this.stacks.equals(that.stacks) : that.stacks != null) return false;
if (this.staging != null ? !this.staging.equals(that.staging) : that.staging != null) return false;
if (this.strict != null ? !this.strict.equals(that.strict) : that.strict != null) return false;
if (this.trace != null ? !this.trace.equals(that.trace) : that.trace != null) return false;
if (this.verbose != null ? !this.verbose.equals(that.verbose) : that.verbose != null) return false;
return this.versionReporting != null ? this.versionReporting.equals(that.versionReporting) : that.versionReporting == null;
}
@Override
public final int hashCode() {
int result = this.exclusively != null ? this.exclusively.hashCode() : 0;
result = 31 * result + (this.quiet != null ? this.quiet.hashCode() : 0);
result = 31 * result + (this.validation != null ? this.validation.hashCode() : 0);
result = 31 * result + (this.assetMetadata != null ? this.assetMetadata.hashCode() : 0);
result = 31 * result + (this.caBundlePath != null ? this.caBundlePath.hashCode() : 0);
result = 31 * result + (this.color != null ? this.color.hashCode() : 0);
result = 31 * result + (this.context != null ? this.context.hashCode() : 0);
result = 31 * result + (this.debug != null ? this.debug.hashCode() : 0);
result = 31 * result + (this.ec2Creds != null ? this.ec2Creds.hashCode() : 0);
result = 31 * result + (this.ignoreErrors != null ? this.ignoreErrors.hashCode() : 0);
result = 31 * result + (this.json != null ? this.json.hashCode() : 0);
result = 31 * result + (this.lookups != null ? this.lookups.hashCode() : 0);
result = 31 * result + (this.notices != null ? this.notices.hashCode() : 0);
result = 31 * result + (this.pathMetadata != null ? this.pathMetadata.hashCode() : 0);
result = 31 * result + (this.profile != null ? this.profile.hashCode() : 0);
result = 31 * result + (this.proxy != null ? this.proxy.hashCode() : 0);
result = 31 * result + (this.roleArn != null ? this.roleArn.hashCode() : 0);
result = 31 * result + (this.stacks != null ? this.stacks.hashCode() : 0);
result = 31 * result + (this.staging != null ? this.staging.hashCode() : 0);
result = 31 * result + (this.strict != null ? this.strict.hashCode() : 0);
result = 31 * result + (this.trace != null ? this.trace.hashCode() : 0);
result = 31 * result + (this.verbose != null ? this.verbose.hashCode() : 0);
result = 31 * result + (this.versionReporting != null ? this.versionReporting.hashCode() : 0);
return result;
}
}
}