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

shiver.me.timbers.aws.ecs.TaskDefinitionSystemControl Maven / Gradle / Ivy


package shiver.me.timbers.aws.ecs;

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;


/**
 * TaskDefinitionSystemControl
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Namespace", "Value" }) public class TaskDefinitionSystemControl implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-namespace * */ @JsonProperty("Namespace") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-namespace") private CharSequence namespace; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-value * */ @JsonProperty("Value") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-value") private CharSequence value; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-namespace * */ @JsonIgnore public CharSequence getNamespace() { return namespace; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-namespace * */ @JsonIgnore public void setNamespace(CharSequence namespace) { this.namespace = namespace; } public TaskDefinitionSystemControl withNamespace(CharSequence namespace) { this.namespace = namespace; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-value * */ @JsonIgnore public CharSequence getValue() { return value; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-value * */ @JsonIgnore public void setValue(CharSequence value) { this.value = value; } public TaskDefinitionSystemControl withValue(CharSequence value) { this.value = value; return this; } @Override public String toString() { return new ToStringBuilder(this).append("namespace", namespace).append("value", value).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(namespace).append(value).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof TaskDefinitionSystemControl) == false) { return false; } TaskDefinitionSystemControl rhs = ((TaskDefinitionSystemControl) other); return new EqualsBuilder().append(namespace, rhs.namespace).append(value, rhs.value).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy