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

shiver.me.timbers.aws.codedeploy.DeploymentGroupRevisionLocation 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.codedeploy;

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;


/**
 * DeploymentGroupRevisionLocation
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "GitHubLocation", "RevisionType", "S3Location" }) public class DeploymentGroupRevisionLocation implements Property { /** * DeploymentGroupGitHubLocation *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html * */ @JsonProperty("GitHubLocation") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html") private Property gitHubLocation; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-revisiontype * */ @JsonProperty("RevisionType") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-revisiontype") private CharSequence revisionType; /** * DeploymentGroupS3Location *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html * */ @JsonProperty("S3Location") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html") private Property s3Location; /** * DeploymentGroupGitHubLocation *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html * */ @JsonIgnore public Property getGitHubLocation() { return gitHubLocation; } /** * DeploymentGroupGitHubLocation *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html * */ @JsonIgnore public void setGitHubLocation(Property gitHubLocation) { this.gitHubLocation = gitHubLocation; } public DeploymentGroupRevisionLocation withGitHubLocation(Property gitHubLocation) { this.gitHubLocation = gitHubLocation; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-revisiontype * */ @JsonIgnore public CharSequence getRevisionType() { return revisionType; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-revisiontype * */ @JsonIgnore public void setRevisionType(CharSequence revisionType) { this.revisionType = revisionType; } public DeploymentGroupRevisionLocation withRevisionType(CharSequence revisionType) { this.revisionType = revisionType; return this; } /** * DeploymentGroupS3Location *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html * */ @JsonIgnore public Property getS3Location() { return s3Location; } /** * DeploymentGroupS3Location *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html * */ @JsonIgnore public void setS3Location(Property s3Location) { this.s3Location = s3Location; } public DeploymentGroupRevisionLocation withS3Location(Property s3Location) { this.s3Location = s3Location; return this; } @Override public String toString() { return new ToStringBuilder(this).append("gitHubLocation", gitHubLocation).append("revisionType", revisionType).append("s3Location", s3Location).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(gitHubLocation).append(revisionType).append(s3Location).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof DeploymentGroupRevisionLocation) == false) { return false; } DeploymentGroupRevisionLocation rhs = ((DeploymentGroupRevisionLocation) other); return new EqualsBuilder().append(gitHubLocation, rhs.gitHubLocation).append(revisionType, rhs.revisionType).append(s3Location, rhs.s3Location).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy