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

com.amazonaws.services.mediapackagev2.model.ChannelGroupListConfiguration Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Elemental MediaPackage v2 module holds the client classes that are used for communicating with AWS Elemental MediaPackage v2 Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.mediapackagev2.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The configuration of the channel group. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ChannelGroupListConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* The name that describes the channel group. The name is the primary identifier for the channel group, and must be * unique for your account in the AWS Region. *

*/ private String channelGroupName; /** *

* The Amazon Resource Name (ARN) associated with the resource. *

*/ private String arn; /** *

* The date and time the channel group was created. *

*/ private java.util.Date createdAt; /** *

* The date and time the channel group was modified. *

*/ private java.util.Date modifiedAt; /** *

* Any descriptive information that you want to add to the channel group for future identification purposes. *

*/ private String description; /** *

* The name that describes the channel group. The name is the primary identifier for the channel group, and must be * unique for your account in the AWS Region. *

* * @param channelGroupName * The name that describes the channel group. The name is the primary identifier for the channel group, and * must be unique for your account in the AWS Region. */ public void setChannelGroupName(String channelGroupName) { this.channelGroupName = channelGroupName; } /** *

* The name that describes the channel group. The name is the primary identifier for the channel group, and must be * unique for your account in the AWS Region. *

* * @return The name that describes the channel group. The name is the primary identifier for the channel group, and * must be unique for your account in the AWS Region. */ public String getChannelGroupName() { return this.channelGroupName; } /** *

* The name that describes the channel group. The name is the primary identifier for the channel group, and must be * unique for your account in the AWS Region. *

* * @param channelGroupName * The name that describes the channel group. The name is the primary identifier for the channel group, and * must be unique for your account in the AWS Region. * @return Returns a reference to this object so that method calls can be chained together. */ public ChannelGroupListConfiguration withChannelGroupName(String channelGroupName) { setChannelGroupName(channelGroupName); return this; } /** *

* The Amazon Resource Name (ARN) associated with the resource. *

* * @param arn * The Amazon Resource Name (ARN) associated with the resource. */ public void setArn(String arn) { this.arn = arn; } /** *

* The Amazon Resource Name (ARN) associated with the resource. *

* * @return The Amazon Resource Name (ARN) associated with the resource. */ public String getArn() { return this.arn; } /** *

* The Amazon Resource Name (ARN) associated with the resource. *

* * @param arn * The Amazon Resource Name (ARN) associated with the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public ChannelGroupListConfiguration withArn(String arn) { setArn(arn); return this; } /** *

* The date and time the channel group was created. *

* * @param createdAt * The date and time the channel group was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* The date and time the channel group was created. *

* * @return The date and time the channel group was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* The date and time the channel group was created. *

* * @param createdAt * The date and time the channel group was created. * @return Returns a reference to this object so that method calls can be chained together. */ public ChannelGroupListConfiguration withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The date and time the channel group was modified. *

* * @param modifiedAt * The date and time the channel group was modified. */ public void setModifiedAt(java.util.Date modifiedAt) { this.modifiedAt = modifiedAt; } /** *

* The date and time the channel group was modified. *

* * @return The date and time the channel group was modified. */ public java.util.Date getModifiedAt() { return this.modifiedAt; } /** *

* The date and time the channel group was modified. *

* * @param modifiedAt * The date and time the channel group was modified. * @return Returns a reference to this object so that method calls can be chained together. */ public ChannelGroupListConfiguration withModifiedAt(java.util.Date modifiedAt) { setModifiedAt(modifiedAt); return this; } /** *

* Any descriptive information that you want to add to the channel group for future identification purposes. *

* * @param description * Any descriptive information that you want to add to the channel group for future identification purposes. */ public void setDescription(String description) { this.description = description; } /** *

* Any descriptive information that you want to add to the channel group for future identification purposes. *

* * @return Any descriptive information that you want to add to the channel group for future identification purposes. */ public String getDescription() { return this.description; } /** *

* Any descriptive information that you want to add to the channel group for future identification purposes. *

* * @param description * Any descriptive information that you want to add to the channel group for future identification purposes. * @return Returns a reference to this object so that method calls can be chained together. */ public ChannelGroupListConfiguration withDescription(String description) { setDescription(description); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getChannelGroupName() != null) sb.append("ChannelGroupName: ").append(getChannelGroupName()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getModifiedAt() != null) sb.append("ModifiedAt: ").append(getModifiedAt()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ChannelGroupListConfiguration == false) return false; ChannelGroupListConfiguration other = (ChannelGroupListConfiguration) obj; if (other.getChannelGroupName() == null ^ this.getChannelGroupName() == null) return false; if (other.getChannelGroupName() != null && other.getChannelGroupName().equals(this.getChannelGroupName()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getModifiedAt() == null ^ this.getModifiedAt() == null) return false; if (other.getModifiedAt() != null && other.getModifiedAt().equals(this.getModifiedAt()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getChannelGroupName() == null) ? 0 : getChannelGroupName().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getModifiedAt() == null) ? 0 : getModifiedAt().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); return hashCode; } @Override public ChannelGroupListConfiguration clone() { try { return (ChannelGroupListConfiguration) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.mediapackagev2.model.transform.ChannelGroupListConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy