shiver.me.timbers.aws.greengrass.ResourceDefinitionVersionSecretsManagerSecretResourceData Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.greengrass;
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;
/**
* ResourceDefinitionVersionSecretsManagerSecretResourceData
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"ARN",
"AdditionalStagingLabelsToDownload"
})
public class ResourceDefinitionVersionSecretsManagerSecretResourceData implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-arn
*
*/
@JsonProperty("ARN")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-arn")
private CharSequence aRN;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-additionalstaginglabelstodownload
*
*/
@JsonProperty("AdditionalStagingLabelsToDownload")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-additionalstaginglabelstodownload")
private List additionalStagingLabelsToDownload = new ArrayList();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-arn
*
*/
@JsonIgnore
public CharSequence getARN() {
return aRN;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-arn
*
*/
@JsonIgnore
public void setARN(CharSequence aRN) {
this.aRN = aRN;
}
public ResourceDefinitionVersionSecretsManagerSecretResourceData withARN(CharSequence aRN) {
this.aRN = aRN;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-additionalstaginglabelstodownload
*
*/
@JsonIgnore
public List getAdditionalStagingLabelsToDownload() {
return additionalStagingLabelsToDownload;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-additionalstaginglabelstodownload
*
*/
@JsonIgnore
public void setAdditionalStagingLabelsToDownload(List additionalStagingLabelsToDownload) {
this.additionalStagingLabelsToDownload = additionalStagingLabelsToDownload;
}
public ResourceDefinitionVersionSecretsManagerSecretResourceData withAdditionalStagingLabelsToDownload(List additionalStagingLabelsToDownload) {
this.additionalStagingLabelsToDownload = additionalStagingLabelsToDownload;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("aRN", aRN).append("additionalStagingLabelsToDownload", additionalStagingLabelsToDownload).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(aRN).append(additionalStagingLabelsToDownload).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ResourceDefinitionVersionSecretsManagerSecretResourceData) == false) {
return false;
}
ResourceDefinitionVersionSecretsManagerSecretResourceData rhs = ((ResourceDefinitionVersionSecretsManagerSecretResourceData) other);
return new EqualsBuilder().append(aRN, rhs.aRN).append(additionalStagingLabelsToDownload, rhs.additionalStagingLabelsToDownload).isEquals();
}
}