/* * 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.ssmincidents.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateReplicationSetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A token that ensures that the operation is called only once with the specified details. *
*/ private String clientToken; /** ** The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication * set. *
*/ private java.util.Map* A list of tags to add to the replication set. *
*/ private java.util.Map* A token that ensures that the operation is called only once with the specified details. *
* * @param clientToken * A token that ensures that the operation is called only once with the specified details. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** A token that ensures that the operation is called only once with the specified details. *
* * @return A token that ensures that the operation is called only once with the specified details. */ public String getClientToken() { return this.clientToken; } /** ** A token that ensures that the operation is called only once with the specified details. *
* * @param clientToken * A token that ensures that the operation is called only once with the specified details. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationSetRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication * set. *
* * @return The Regions that Incident Manager replicates your data to. You can have up to three Regions in your * replication set. */ public java.util.Map* The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication * set. *
* * @param regions * The Regions that Incident Manager replicates your data to. You can have up to three Regions in your * replication set. */ public void setRegions(java.util.Map* The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication * set. *
* * @param regions * The Regions that Incident Manager replicates your data to. You can have up to three Regions in your * replication set. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationSetRequest withRegions(java.util.Map* A list of tags to add to the replication set. *
* * @return A list of tags to add to the replication set. */ public java.util.Map* A list of tags to add to the replication set. *
* * @param tags * A list of tags to add to the replication set. */ public void setTags(java.util.Map* A list of tags to add to the replication set. *
* * @param tags * A list of tags to add to the replication set. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationSetRequest withTags(java.util.Map