/* * Copyright 2018-2023 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.route53recoveryreadiness.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about a cell. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CellOutput implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) for the cell. *
*/ private String cellArn; /** ** The name of the cell. *
*/ private String cellName; /** ** A list of cell ARNs. *
*/ private java.util.List* The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is * a list but currently can have only one element. *
*/ private java.util.List* Tags on the resources. *
*/ private java.util.Map* The Amazon Resource Name (ARN) for the cell. *
* * @param cellArn * The Amazon Resource Name (ARN) for the cell. */ public void setCellArn(String cellArn) { this.cellArn = cellArn; } /** ** The Amazon Resource Name (ARN) for the cell. *
* * @return The Amazon Resource Name (ARN) for the cell. */ public String getCellArn() { return this.cellArn; } /** ** The Amazon Resource Name (ARN) for the cell. *
* * @param cellArn * The Amazon Resource Name (ARN) for the cell. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withCellArn(String cellArn) { setCellArn(cellArn); return this; } /** ** The name of the cell. *
* * @param cellName * The name of the cell. */ public void setCellName(String cellName) { this.cellName = cellName; } /** ** The name of the cell. *
* * @return The name of the cell. */ public String getCellName() { return this.cellName; } /** ** The name of the cell. *
* * @param cellName * The name of the cell. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withCellName(String cellName) { setCellName(cellName); return this; } /** ** A list of cell ARNs. *
* * @return A list of cell ARNs. */ public java.util.List* A list of cell ARNs. *
* * @param cells * A list of cell ARNs. */ public void setCells(java.util.Collection* A list of cell ARNs. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCells(java.util.Collection)} or {@link #withCells(java.util.Collection)} if you want to override the * existing values. *
* * @param cells * A list of cell ARNs. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withCells(String... cells) { if (this.cells == null) { setCells(new java.util.ArrayList* A list of cell ARNs. *
* * @param cells * A list of cell ARNs. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withCells(java.util.Collection* The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is * a list but currently can have only one element. *
* * @return The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. * This is a list but currently can have only one element. */ public java.util.List* The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is * a list but currently can have only one element. *
* * @param parentReadinessScopes * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. * This is a list but currently can have only one element. */ public void setParentReadinessScopes(java.util.Collection* The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is * a list but currently can have only one element. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParentReadinessScopes(java.util.Collection)} or * {@link #withParentReadinessScopes(java.util.Collection)} if you want to override the existing values. *
* * @param parentReadinessScopes * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. * This is a list but currently can have only one element. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withParentReadinessScopes(String... parentReadinessScopes) { if (this.parentReadinessScopes == null) { setParentReadinessScopes(new java.util.ArrayList* The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is * a list but currently can have only one element. *
* * @param parentReadinessScopes * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. * This is a list but currently can have only one element. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withParentReadinessScopes(java.util.Collection* Tags on the resources. *
* * @return Tags on the resources. */ public java.util.Map* Tags on the resources. *
* * @param tags * Tags on the resources. */ public void setTags(java.util.Map* Tags on the resources. *
* * @param tags * Tags on the resources. * @return Returns a reference to this object so that method calls can be chained together. */ public CellOutput withTags(java.util.Map