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

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


package shiver.me.timbers.aws.codebuild;

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;


/**
 * ProjectCloudWatchLogsConfig
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Status", "GroupName", "StreamName" }) public class ProjectCloudWatchLogsConfig implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status * */ @JsonProperty("Status") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status") private CharSequence status; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname * */ @JsonProperty("GroupName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname") private CharSequence groupName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname * */ @JsonProperty("StreamName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname") private CharSequence streamName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status * */ @JsonIgnore public CharSequence getStatus() { return status; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status * */ @JsonIgnore public void setStatus(CharSequence status) { this.status = status; } public ProjectCloudWatchLogsConfig withStatus(CharSequence status) { this.status = status; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname * */ @JsonIgnore public CharSequence getGroupName() { return groupName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname * */ @JsonIgnore public void setGroupName(CharSequence groupName) { this.groupName = groupName; } public ProjectCloudWatchLogsConfig withGroupName(CharSequence groupName) { this.groupName = groupName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname * */ @JsonIgnore public CharSequence getStreamName() { return streamName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname * */ @JsonIgnore public void setStreamName(CharSequence streamName) { this.streamName = streamName; } public ProjectCloudWatchLogsConfig withStreamName(CharSequence streamName) { this.streamName = streamName; return this; } @Override public String toString() { return new ToStringBuilder(this).append("status", status).append("groupName", groupName).append("streamName", streamName).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(groupName).append(streamName).append(status).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ProjectCloudWatchLogsConfig) == false) { return false; } ProjectCloudWatchLogsConfig rhs = ((ProjectCloudWatchLogsConfig) other); return new EqualsBuilder().append(groupName, rhs.groupName).append(streamName, rhs.streamName).append(status, rhs.status).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy