All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.pipelines.StandardYarnSynthOptions Maven / Gradle / Ivy

The newest version!
package software.amazon.awscdk.pipelines;

/**
 * (deprecated) Options for a convention-based synth using Yarn.
 * 

* Example: *

*

 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.codebuild.*;
 * import software.amazon.awscdk.services.codepipeline.*;
 * import software.amazon.awscdk.services.ec2.*;
 * import software.amazon.awscdk.services.iam.*;
 * import software.amazon.awscdk.services.s3.*;
 * import software.amazon.awscdk.pipelines.*;
 * Artifact artifact;
 * Bucket bucket;
 * IBuildImage buildImage;
 * BuildSpec buildSpec;
 * PolicyStatement policyStatement;
 * Subnet subnet;
 * SubnetFilter subnetFilter;
 * Object value;
 * Vpc vpc;
 * StandardYarnSynthOptions standardYarnSynthOptions = StandardYarnSynthOptions.builder()
 *         .cloudAssemblyArtifact(artifact)
 *         .sourceArtifact(artifact)
 *         // the properties below are optional
 *         .actionName("actionName")
 *         .additionalArtifacts(List.of(AdditionalArtifact.builder()
 *                 .artifact(artifact)
 *                 .directory("directory")
 *                 .build()))
 *         .buildCommand("buildCommand")
 *         .buildSpec(buildSpec)
 *         .copyEnvironmentVariables(List.of("copyEnvironmentVariables"))
 *         .environment(BuildEnvironment.builder()
 *                 .buildImage(buildImage)
 *                 .certificate(BuildEnvironmentCertificate.builder()
 *                         .bucket(bucket)
 *                         .objectKey("objectKey")
 *                         .build())
 *                 .computeType(ComputeType.SMALL)
 *                 .environmentVariables(Map.of(
 *                         "environmentVariablesKey", BuildEnvironmentVariable.builder()
 *                                 .value(value)
 *                                 // the properties below are optional
 *                                 .type(BuildEnvironmentVariableType.PLAINTEXT)
 *                                 .build()))
 *                 .privileged(false)
 *                 .build())
 *         .environmentVariables(Map.of(
 *                 "environmentVariablesKey", BuildEnvironmentVariable.builder()
 *                         .value(value)
 *                         // the properties below are optional
 *                         .type(BuildEnvironmentVariableType.PLAINTEXT)
 *                         .build()))
 *         .installCommand("installCommand")
 *         .projectName("projectName")
 *         .rolePolicyStatements(List.of(policyStatement))
 *         .subdirectory("subdirectory")
 *         .subnetSelection(SubnetSelection.builder()
 *                 .availabilityZones(List.of("availabilityZones"))
 *                 .onePerAz(false)
 *                 .subnetFilters(List.of(subnetFilter))
 *                 .subnetGroupName("subnetGroupName")
 *                 .subnetName("subnetName")
 *                 .subnets(List.of(subnet))
 *                 .subnetType(SubnetType.ISOLATED)
 *                 .build())
 *         .synthCommand("synthCommand")
 *         .testCommands(List.of("testCommands"))
 *         .vpc(vpc)
 *         .build();
 * 
*

* @deprecated This class is part of the old API. Use the API based on the CodePipeline class instead */ @javax.annotation.Generated(value = "jsii-pacmak/1.84.0 (build 5404dcf)", date = "2023-06-19T16:30:49.902Z") @software.amazon.jsii.Jsii(module = software.amazon.awscdk.pipelines.$Module.class, fqn = "@aws-cdk/pipelines.StandardYarnSynthOptions") @software.amazon.jsii.Jsii.Proxy(StandardYarnSynthOptions.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public interface StandardYarnSynthOptions extends software.amazon.jsii.JsiiSerializable, software.amazon.awscdk.pipelines.SimpleSynthOptions { /** * (deprecated) The build command. *

* By default, we assume NPM projects are either written in JavaScript or are * using ts-node, so don't need a build command. *

* Otherwise, put the build command here, for example npm run build. *

* Default: - No build required */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated default @org.jetbrains.annotations.Nullable java.lang.String getBuildCommand() { return null; } /** * (deprecated) The install command. *

* Default: 'yarn install --frozen-lockfile' */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated default @org.jetbrains.annotations.Nullable java.lang.String getInstallCommand() { return null; } /** * (deprecated) The synth command. *

* Default: 'npx cdk synth' */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated default @org.jetbrains.annotations.Nullable java.lang.String getSynthCommand() { return null; } /** * (deprecated) Test commands. *

* These commands are run after the build commands but before the * synth command. *

* Default: - No test commands */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated default @org.jetbrains.annotations.Nullable java.util.List getTestCommands() { return null; } /** * @return a {@link Builder} of {@link StandardYarnSynthOptions} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated static Builder builder() { return new Builder(); } /** * A builder for {@link StandardYarnSynthOptions} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public static final class Builder implements software.amazon.jsii.Builder { java.lang.String buildCommand; java.lang.String installCommand; java.lang.String synthCommand; java.util.List testCommands; software.amazon.awscdk.services.codepipeline.Artifact cloudAssemblyArtifact; software.amazon.awscdk.services.codepipeline.Artifact sourceArtifact; java.lang.String actionName; java.util.List additionalArtifacts; software.amazon.awscdk.services.codebuild.BuildSpec buildSpec; java.util.List copyEnvironmentVariables; software.amazon.awscdk.services.codebuild.BuildEnvironment environment; java.util.Map environmentVariables; java.lang.String projectName; java.util.List rolePolicyStatements; java.lang.String subdirectory; software.amazon.awscdk.services.ec2.SubnetSelection subnetSelection; software.amazon.awscdk.services.ec2.IVpc vpc; /** * Sets the value of {@link StandardYarnSynthOptions#getBuildCommand} * @param buildCommand The build command. * By default, we assume NPM projects are either written in JavaScript or are * using ts-node, so don't need a build command. *

* Otherwise, put the build command here, for example npm run build. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder buildCommand(java.lang.String buildCommand) { this.buildCommand = buildCommand; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getInstallCommand} * @param installCommand The install command. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder installCommand(java.lang.String installCommand) { this.installCommand = installCommand; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getSynthCommand} * @param synthCommand The synth command. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder synthCommand(java.lang.String synthCommand) { this.synthCommand = synthCommand; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getTestCommands} * @param testCommands Test commands. * These commands are run after the build commands but before the * synth command. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder testCommands(java.util.List testCommands) { this.testCommands = testCommands; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getCloudAssemblyArtifact} * @param cloudAssemblyArtifact The artifact where the CloudAssembly should be emitted. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder cloudAssemblyArtifact(software.amazon.awscdk.services.codepipeline.Artifact cloudAssemblyArtifact) { this.cloudAssemblyArtifact = cloudAssemblyArtifact; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getSourceArtifact} * @param sourceArtifact The source artifact of the CodePipeline. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder sourceArtifact(software.amazon.awscdk.services.codepipeline.Artifact sourceArtifact) { this.sourceArtifact = sourceArtifact; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getActionName} * @param actionName Name of the build action. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder actionName(java.lang.String actionName) { this.actionName = actionName; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getAdditionalArtifacts} * @param additionalArtifacts Produce additional output artifacts after the build based on the given directories. * Can be used to produce additional artifacts during the build step, * separate from the cloud assembly, which can be used further on in the * pipeline. *

* Directories are evaluated with respect to subdirectory. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @SuppressWarnings("unchecked") public Builder additionalArtifacts(java.util.List additionalArtifacts) { this.additionalArtifacts = (java.util.List)additionalArtifacts; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getBuildSpec} * @param buildSpec custom BuildSpec that is merged with the generated one. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder buildSpec(software.amazon.awscdk.services.codebuild.BuildSpec buildSpec) { this.buildSpec = buildSpec; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getCopyEnvironmentVariables} * @param copyEnvironmentVariables Environment variables to copy over from parent env. * These are environment variables that are being used by the build. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder copyEnvironmentVariables(java.util.List copyEnvironmentVariables) { this.copyEnvironmentVariables = copyEnvironmentVariables; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getEnvironment} * @param environment Build environment to use for CodeBuild job. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder environment(software.amazon.awscdk.services.codebuild.BuildEnvironment environment) { this.environment = environment; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getEnvironmentVariables} * @param environmentVariables Environment variables to send into build. * NOTE: You may run into the 1000-character limit for the Action configuration if you have a large * number of variables or if their names or values are very long. * If you do, pass them to the underlying CodeBuild project directly in environment instead. * However, you will not be able to use CodePipeline Variables in this case. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @SuppressWarnings("unchecked") public Builder environmentVariables(java.util.Map environmentVariables) { this.environmentVariables = (java.util.Map)environmentVariables; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getProjectName} * @param projectName Name of the CodeBuild project. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder projectName(java.lang.String projectName) { this.projectName = projectName; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getRolePolicyStatements} * @param rolePolicyStatements Policy statements to add to role used during the synth. * Can be used to add acces to a CodeArtifact repository etc. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @SuppressWarnings("unchecked") public Builder rolePolicyStatements(java.util.List rolePolicyStatements) { this.rolePolicyStatements = (java.util.List)rolePolicyStatements; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getSubdirectory} * @param subdirectory Directory inside the source where package.json and cdk.json are located. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder subdirectory(java.lang.String subdirectory) { this.subdirectory = subdirectory; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getSubnetSelection} * @param subnetSelection Which subnets to use. * Only used if 'vpc' is supplied. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder subnetSelection(software.amazon.awscdk.services.ec2.SubnetSelection subnetSelection) { this.subnetSelection = subnetSelection; return this; } /** * Sets the value of {@link StandardYarnSynthOptions#getVpc} * @param vpc The VPC where to execute the SimpleSynth. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder vpc(software.amazon.awscdk.services.ec2.IVpc vpc) { this.vpc = vpc; return this; } /** * Builds the configured instance. * @return a new instance of {@link StandardYarnSynthOptions} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @Override public StandardYarnSynthOptions build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link StandardYarnSynthOptions} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StandardYarnSynthOptions { private final java.lang.String buildCommand; private final java.lang.String installCommand; private final java.lang.String synthCommand; private final java.util.List testCommands; private final software.amazon.awscdk.services.codepipeline.Artifact cloudAssemblyArtifact; private final software.amazon.awscdk.services.codepipeline.Artifact sourceArtifact; private final java.lang.String actionName; private final java.util.List additionalArtifacts; private final software.amazon.awscdk.services.codebuild.BuildSpec buildSpec; private final java.util.List copyEnvironmentVariables; private final software.amazon.awscdk.services.codebuild.BuildEnvironment environment; private final java.util.Map environmentVariables; private final java.lang.String projectName; private final java.util.List rolePolicyStatements; private final java.lang.String subdirectory; private final software.amazon.awscdk.services.ec2.SubnetSelection subnetSelection; private final software.amazon.awscdk.services.ec2.IVpc vpc; /** * 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.buildCommand = software.amazon.jsii.Kernel.get(this, "buildCommand", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.installCommand = software.amazon.jsii.Kernel.get(this, "installCommand", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.synthCommand = software.amazon.jsii.Kernel.get(this, "synthCommand", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.testCommands = software.amazon.jsii.Kernel.get(this, "testCommands", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); this.cloudAssemblyArtifact = software.amazon.jsii.Kernel.get(this, "cloudAssemblyArtifact", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codepipeline.Artifact.class)); this.sourceArtifact = software.amazon.jsii.Kernel.get(this, "sourceArtifact", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codepipeline.Artifact.class)); this.actionName = software.amazon.jsii.Kernel.get(this, "actionName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.additionalArtifacts = software.amazon.jsii.Kernel.get(this, "additionalArtifacts", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.pipelines.AdditionalArtifact.class))); this.buildSpec = software.amazon.jsii.Kernel.get(this, "buildSpec", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildSpec.class)); this.copyEnvironmentVariables = software.amazon.jsii.Kernel.get(this, "copyEnvironmentVariables", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); this.environment = software.amazon.jsii.Kernel.get(this, "environment", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildEnvironment.class)); this.environmentVariables = software.amazon.jsii.Kernel.get(this, "environmentVariables", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildEnvironmentVariable.class))); this.projectName = software.amazon.jsii.Kernel.get(this, "projectName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.rolePolicyStatements = software.amazon.jsii.Kernel.get(this, "rolePolicyStatements", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.PolicyStatement.class))); this.subdirectory = software.amazon.jsii.Kernel.get(this, "subdirectory", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.subnetSelection = software.amazon.jsii.Kernel.get(this, "subnetSelection", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); this.vpc = software.amazon.jsii.Kernel.get(this, "vpc", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.IVpc.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ @SuppressWarnings("unchecked") protected Jsii$Proxy(final Builder builder) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.buildCommand = builder.buildCommand; this.installCommand = builder.installCommand; this.synthCommand = builder.synthCommand; this.testCommands = builder.testCommands; this.cloudAssemblyArtifact = java.util.Objects.requireNonNull(builder.cloudAssemblyArtifact, "cloudAssemblyArtifact is required"); this.sourceArtifact = java.util.Objects.requireNonNull(builder.sourceArtifact, "sourceArtifact is required"); this.actionName = builder.actionName; this.additionalArtifacts = (java.util.List)builder.additionalArtifacts; this.buildSpec = builder.buildSpec; this.copyEnvironmentVariables = builder.copyEnvironmentVariables; this.environment = builder.environment; this.environmentVariables = (java.util.Map)builder.environmentVariables; this.projectName = builder.projectName; this.rolePolicyStatements = (java.util.List)builder.rolePolicyStatements; this.subdirectory = builder.subdirectory; this.subnetSelection = builder.subnetSelection; this.vpc = builder.vpc; } @Override public final java.lang.String getBuildCommand() { return this.buildCommand; } @Override public final java.lang.String getInstallCommand() { return this.installCommand; } @Override public final java.lang.String getSynthCommand() { return this.synthCommand; } @Override public final java.util.List getTestCommands() { return this.testCommands; } @Override public final software.amazon.awscdk.services.codepipeline.Artifact getCloudAssemblyArtifact() { return this.cloudAssemblyArtifact; } @Override public final software.amazon.awscdk.services.codepipeline.Artifact getSourceArtifact() { return this.sourceArtifact; } @Override public final java.lang.String getActionName() { return this.actionName; } @Override public final java.util.List getAdditionalArtifacts() { return this.additionalArtifacts; } @Override public final software.amazon.awscdk.services.codebuild.BuildSpec getBuildSpec() { return this.buildSpec; } @Override public final java.util.List getCopyEnvironmentVariables() { return this.copyEnvironmentVariables; } @Override public final software.amazon.awscdk.services.codebuild.BuildEnvironment getEnvironment() { return this.environment; } @Override public final java.util.Map getEnvironmentVariables() { return this.environmentVariables; } @Override public final java.lang.String getProjectName() { return this.projectName; } @Override public final java.util.List getRolePolicyStatements() { return this.rolePolicyStatements; } @Override public final java.lang.String getSubdirectory() { return this.subdirectory; } @Override public final software.amazon.awscdk.services.ec2.SubnetSelection getSubnetSelection() { return this.subnetSelection; } @Override public final software.amazon.awscdk.services.ec2.IVpc getVpc() { return this.vpc; } @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.getBuildCommand() != null) { data.set("buildCommand", om.valueToTree(this.getBuildCommand())); } if (this.getInstallCommand() != null) { data.set("installCommand", om.valueToTree(this.getInstallCommand())); } if (this.getSynthCommand() != null) { data.set("synthCommand", om.valueToTree(this.getSynthCommand())); } if (this.getTestCommands() != null) { data.set("testCommands", om.valueToTree(this.getTestCommands())); } data.set("cloudAssemblyArtifact", om.valueToTree(this.getCloudAssemblyArtifact())); data.set("sourceArtifact", om.valueToTree(this.getSourceArtifact())); if (this.getActionName() != null) { data.set("actionName", om.valueToTree(this.getActionName())); } if (this.getAdditionalArtifacts() != null) { data.set("additionalArtifacts", om.valueToTree(this.getAdditionalArtifacts())); } if (this.getBuildSpec() != null) { data.set("buildSpec", om.valueToTree(this.getBuildSpec())); } if (this.getCopyEnvironmentVariables() != null) { data.set("copyEnvironmentVariables", om.valueToTree(this.getCopyEnvironmentVariables())); } if (this.getEnvironment() != null) { data.set("environment", om.valueToTree(this.getEnvironment())); } if (this.getEnvironmentVariables() != null) { data.set("environmentVariables", om.valueToTree(this.getEnvironmentVariables())); } if (this.getProjectName() != null) { data.set("projectName", om.valueToTree(this.getProjectName())); } if (this.getRolePolicyStatements() != null) { data.set("rolePolicyStatements", om.valueToTree(this.getRolePolicyStatements())); } if (this.getSubdirectory() != null) { data.set("subdirectory", om.valueToTree(this.getSubdirectory())); } if (this.getSubnetSelection() != null) { data.set("subnetSelection", om.valueToTree(this.getSubnetSelection())); } if (this.getVpc() != null) { data.set("vpc", om.valueToTree(this.getVpc())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/pipelines.StandardYarnSynthOptions")); 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; StandardYarnSynthOptions.Jsii$Proxy that = (StandardYarnSynthOptions.Jsii$Proxy) o; if (this.buildCommand != null ? !this.buildCommand.equals(that.buildCommand) : that.buildCommand != null) return false; if (this.installCommand != null ? !this.installCommand.equals(that.installCommand) : that.installCommand != null) return false; if (this.synthCommand != null ? !this.synthCommand.equals(that.synthCommand) : that.synthCommand != null) return false; if (this.testCommands != null ? !this.testCommands.equals(that.testCommands) : that.testCommands != null) return false; if (!cloudAssemblyArtifact.equals(that.cloudAssemblyArtifact)) return false; if (!sourceArtifact.equals(that.sourceArtifact)) return false; if (this.actionName != null ? !this.actionName.equals(that.actionName) : that.actionName != null) return false; if (this.additionalArtifacts != null ? !this.additionalArtifacts.equals(that.additionalArtifacts) : that.additionalArtifacts != null) return false; if (this.buildSpec != null ? !this.buildSpec.equals(that.buildSpec) : that.buildSpec != null) return false; if (this.copyEnvironmentVariables != null ? !this.copyEnvironmentVariables.equals(that.copyEnvironmentVariables) : that.copyEnvironmentVariables != null) return false; if (this.environment != null ? !this.environment.equals(that.environment) : that.environment != null) return false; if (this.environmentVariables != null ? !this.environmentVariables.equals(that.environmentVariables) : that.environmentVariables != null) return false; if (this.projectName != null ? !this.projectName.equals(that.projectName) : that.projectName != null) return false; if (this.rolePolicyStatements != null ? !this.rolePolicyStatements.equals(that.rolePolicyStatements) : that.rolePolicyStatements != null) return false; if (this.subdirectory != null ? !this.subdirectory.equals(that.subdirectory) : that.subdirectory != null) return false; if (this.subnetSelection != null ? !this.subnetSelection.equals(that.subnetSelection) : that.subnetSelection != null) return false; return this.vpc != null ? this.vpc.equals(that.vpc) : that.vpc == null; } @Override public final int hashCode() { int result = this.buildCommand != null ? this.buildCommand.hashCode() : 0; result = 31 * result + (this.installCommand != null ? this.installCommand.hashCode() : 0); result = 31 * result + (this.synthCommand != null ? this.synthCommand.hashCode() : 0); result = 31 * result + (this.testCommands != null ? this.testCommands.hashCode() : 0); result = 31 * result + (this.cloudAssemblyArtifact.hashCode()); result = 31 * result + (this.sourceArtifact.hashCode()); result = 31 * result + (this.actionName != null ? this.actionName.hashCode() : 0); result = 31 * result + (this.additionalArtifacts != null ? this.additionalArtifacts.hashCode() : 0); result = 31 * result + (this.buildSpec != null ? this.buildSpec.hashCode() : 0); result = 31 * result + (this.copyEnvironmentVariables != null ? this.copyEnvironmentVariables.hashCode() : 0); result = 31 * result + (this.environment != null ? this.environment.hashCode() : 0); result = 31 * result + (this.environmentVariables != null ? this.environmentVariables.hashCode() : 0); result = 31 * result + (this.projectName != null ? this.projectName.hashCode() : 0); result = 31 * result + (this.rolePolicyStatements != null ? this.rolePolicyStatements.hashCode() : 0); result = 31 * result + (this.subdirectory != null ? this.subdirectory.hashCode() : 0); result = 31 * result + (this.subnetSelection != null ? this.subnetSelection.hashCode() : 0); result = 31 * result + (this.vpc != null ? this.vpc.hashCode() : 0); return result; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy