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

shiver.me.timbers.aws.codebuild.Project Maven / Gradle / Ivy

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

The newest version!

package shiver.me.timbers.aws.codebuild;

import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;
import shiver.me.timbers.aws.Tag;


/**
 * Project
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Description", "VpcConfig", "SecondarySources", "EncryptionKey", "SourceVersion", "Triggers", "SecondaryArtifacts", "Source", "Name", "Artifacts", "BadgeEnabled", "LogsConfig", "ServiceRole", "QueuedTimeoutInMinutes", "FileSystemLocations", "Environment", "SecondarySourceVersions", "Tags", "TimeoutInMinutes", "Cache" }) public class Project { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description * */ @JsonProperty("Description") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description") private CharSequence description; /** * ProjectVpcConfig *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html * */ @JsonProperty("VpcConfig") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html") private Property vpcConfig; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources * */ @JsonProperty("SecondarySources") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources") private List> secondarySources = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey * */ @JsonProperty("EncryptionKey") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey") private CharSequence encryptionKey; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion * */ @JsonProperty("SourceVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion") private CharSequence sourceVersion; /** * ProjectProjectTriggers *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html * */ @JsonProperty("Triggers") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html") private Property triggers; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts * */ @JsonProperty("SecondaryArtifacts") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts") private List> secondaryArtifacts = new ArrayList>(); /** * ProjectSource *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html * */ @JsonProperty("Source") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html") private Property source; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name") private CharSequence name; /** * ProjectArtifacts *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html * */ @JsonProperty("Artifacts") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html") private Property artifacts; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled * */ @JsonProperty("BadgeEnabled") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled") private CharSequence badgeEnabled; /** * ProjectLogsConfig *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html * */ @JsonProperty("LogsConfig") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html") private Property logsConfig; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole * */ @JsonProperty("ServiceRole") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole") private CharSequence serviceRole; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes * */ @JsonProperty("QueuedTimeoutInMinutes") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes") private Number queuedTimeoutInMinutes; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations * */ @JsonProperty("FileSystemLocations") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations") private List> fileSystemLocations = new ArrayList>(); /** * ProjectEnvironment *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html * */ @JsonProperty("Environment") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html") private Property environment; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions * */ @JsonProperty("SecondarySourceVersions") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions") private List> secondarySourceVersions = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags * */ @JsonProperty("Tags") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags") private List> tags = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes * */ @JsonProperty("TimeoutInMinutes") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes") private Number timeoutInMinutes; /** * ProjectProjectCache *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html * */ @JsonProperty("Cache") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html") private Property cache; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description * */ @JsonIgnore public CharSequence getDescription() { return description; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description * */ @JsonIgnore public void setDescription(CharSequence description) { this.description = description; } public Project withDescription(CharSequence description) { this.description = description; return this; } /** * ProjectVpcConfig *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html * */ @JsonIgnore public Property getVpcConfig() { return vpcConfig; } /** * ProjectVpcConfig *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html * */ @JsonIgnore public void setVpcConfig(Property vpcConfig) { this.vpcConfig = vpcConfig; } public Project withVpcConfig(Property vpcConfig) { this.vpcConfig = vpcConfig; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources * */ @JsonIgnore public List> getSecondarySources() { return secondarySources; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources * */ @JsonIgnore public void setSecondarySources(List> secondarySources) { this.secondarySources = secondarySources; } public Project withSecondarySources(List> secondarySources) { this.secondarySources = secondarySources; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey * */ @JsonIgnore public CharSequence getEncryptionKey() { return encryptionKey; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey * */ @JsonIgnore public void setEncryptionKey(CharSequence encryptionKey) { this.encryptionKey = encryptionKey; } public Project withEncryptionKey(CharSequence encryptionKey) { this.encryptionKey = encryptionKey; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion * */ @JsonIgnore public CharSequence getSourceVersion() { return sourceVersion; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion * */ @JsonIgnore public void setSourceVersion(CharSequence sourceVersion) { this.sourceVersion = sourceVersion; } public Project withSourceVersion(CharSequence sourceVersion) { this.sourceVersion = sourceVersion; return this; } /** * ProjectProjectTriggers *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html * */ @JsonIgnore public Property getTriggers() { return triggers; } /** * ProjectProjectTriggers *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html * */ @JsonIgnore public void setTriggers(Property triggers) { this.triggers = triggers; } public Project withTriggers(Property triggers) { this.triggers = triggers; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts * */ @JsonIgnore public List> getSecondaryArtifacts() { return secondaryArtifacts; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts * */ @JsonIgnore public void setSecondaryArtifacts(List> secondaryArtifacts) { this.secondaryArtifacts = secondaryArtifacts; } public Project withSecondaryArtifacts(List> secondaryArtifacts) { this.secondaryArtifacts = secondaryArtifacts; return this; } /** * ProjectSource *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html * */ @JsonIgnore public Property getSource() { return source; } /** * ProjectSource *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html * */ @JsonIgnore public void setSource(Property source) { this.source = source; } public Project withSource(Property source) { this.source = source; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public Project withName(CharSequence name) { this.name = name; return this; } /** * ProjectArtifacts *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html * */ @JsonIgnore public Property getArtifacts() { return artifacts; } /** * ProjectArtifacts *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html * */ @JsonIgnore public void setArtifacts(Property artifacts) { this.artifacts = artifacts; } public Project withArtifacts(Property artifacts) { this.artifacts = artifacts; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled * */ @JsonIgnore public CharSequence getBadgeEnabled() { return badgeEnabled; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled * */ @JsonIgnore public void setBadgeEnabled(CharSequence badgeEnabled) { this.badgeEnabled = badgeEnabled; } public Project withBadgeEnabled(CharSequence badgeEnabled) { this.badgeEnabled = badgeEnabled; return this; } /** * ProjectLogsConfig *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html * */ @JsonIgnore public Property getLogsConfig() { return logsConfig; } /** * ProjectLogsConfig *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html * */ @JsonIgnore public void setLogsConfig(Property logsConfig) { this.logsConfig = logsConfig; } public Project withLogsConfig(Property logsConfig) { this.logsConfig = logsConfig; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole * */ @JsonIgnore public CharSequence getServiceRole() { return serviceRole; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole * */ @JsonIgnore public void setServiceRole(CharSequence serviceRole) { this.serviceRole = serviceRole; } public Project withServiceRole(CharSequence serviceRole) { this.serviceRole = serviceRole; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes * */ @JsonIgnore public Number getQueuedTimeoutInMinutes() { return queuedTimeoutInMinutes; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes * */ @JsonIgnore public void setQueuedTimeoutInMinutes(Number queuedTimeoutInMinutes) { this.queuedTimeoutInMinutes = queuedTimeoutInMinutes; } public Project withQueuedTimeoutInMinutes(Number queuedTimeoutInMinutes) { this.queuedTimeoutInMinutes = queuedTimeoutInMinutes; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations * */ @JsonIgnore public List> getFileSystemLocations() { return fileSystemLocations; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations * */ @JsonIgnore public void setFileSystemLocations(List> fileSystemLocations) { this.fileSystemLocations = fileSystemLocations; } public Project withFileSystemLocations(List> fileSystemLocations) { this.fileSystemLocations = fileSystemLocations; return this; } /** * ProjectEnvironment *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html * */ @JsonIgnore public Property getEnvironment() { return environment; } /** * ProjectEnvironment *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html * */ @JsonIgnore public void setEnvironment(Property environment) { this.environment = environment; } public Project withEnvironment(Property environment) { this.environment = environment; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions * */ @JsonIgnore public List> getSecondarySourceVersions() { return secondarySourceVersions; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions * */ @JsonIgnore public void setSecondarySourceVersions(List> secondarySourceVersions) { this.secondarySourceVersions = secondarySourceVersions; } public Project withSecondarySourceVersions(List> secondarySourceVersions) { this.secondarySourceVersions = secondarySourceVersions; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags * */ @JsonIgnore public List> getTags() { return tags; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags * */ @JsonIgnore public void setTags(List> tags) { this.tags = tags; } public Project withTags(List> tags) { this.tags = tags; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes * */ @JsonIgnore public Number getTimeoutInMinutes() { return timeoutInMinutes; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes * */ @JsonIgnore public void setTimeoutInMinutes(Number timeoutInMinutes) { this.timeoutInMinutes = timeoutInMinutes; } public Project withTimeoutInMinutes(Number timeoutInMinutes) { this.timeoutInMinutes = timeoutInMinutes; return this; } /** * ProjectProjectCache *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html * */ @JsonIgnore public Property getCache() { return cache; } /** * ProjectProjectCache *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html * */ @JsonIgnore public void setCache(Property cache) { this.cache = cache; } public Project withCache(Property cache) { this.cache = cache; return this; } @Override public String toString() { return new ToStringBuilder(this).append("description", description).append("vpcConfig", vpcConfig).append("secondarySources", secondarySources).append("encryptionKey", encryptionKey).append("sourceVersion", sourceVersion).append("triggers", triggers).append("secondaryArtifacts", secondaryArtifacts).append("source", source).append("name", name).append("artifacts", artifacts).append("badgeEnabled", badgeEnabled).append("logsConfig", logsConfig).append("serviceRole", serviceRole).append("queuedTimeoutInMinutes", queuedTimeoutInMinutes).append("fileSystemLocations", fileSystemLocations).append("environment", environment).append("secondarySourceVersions", secondarySourceVersions).append("tags", tags).append("timeoutInMinutes", timeoutInMinutes).append("cache", cache).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(logsConfig).append(cache).append(secondarySources).append(fileSystemLocations).append(sourceVersion).append(serviceRole).append(description).append(encryptionKey).append(source).append(triggers).append(secondarySourceVersions).append(secondaryArtifacts).append(tags).append(environment).append(vpcConfig).append(name).append(timeoutInMinutes).append(queuedTimeoutInMinutes).append(badgeEnabled).append(artifacts).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Project) == false) { return false; } Project rhs = ((Project) other); return new EqualsBuilder().append(logsConfig, rhs.logsConfig).append(cache, rhs.cache).append(secondarySources, rhs.secondarySources).append(fileSystemLocations, rhs.fileSystemLocations).append(sourceVersion, rhs.sourceVersion).append(serviceRole, rhs.serviceRole).append(description, rhs.description).append(encryptionKey, rhs.encryptionKey).append(source, rhs.source).append(triggers, rhs.triggers).append(secondarySourceVersions, rhs.secondarySourceVersions).append(secondaryArtifacts, rhs.secondaryArtifacts).append(tags, rhs.tags).append(environment, rhs.environment).append(vpcConfig, rhs.vpcConfig).append(name, rhs.name).append(timeoutInMinutes, rhs.timeoutInMinutes).append(queuedTimeoutInMinutes, rhs.queuedTimeoutInMinutes).append(badgeEnabled, rhs.badgeEnabled).append(artifacts, rhs.artifacts).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy