/* * 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.schemas.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 CreateRegistryRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A description of the registry to be created. *
*/ private String description; /** ** The name of the registry. *
*/ private String registryName; /** ** Tags to associate with the registry. *
*/ private java.util.Map* A description of the registry to be created. *
* * @param description * A description of the registry to be created. */ public void setDescription(String description) { this.description = description; } /** ** A description of the registry to be created. *
* * @return A description of the registry to be created. */ public String getDescription() { return this.description; } /** ** A description of the registry to be created. *
* * @param description * A description of the registry to be created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRegistryRequest withDescription(String description) { setDescription(description); return this; } /** ** The name of the registry. *
* * @param registryName * The name of the registry. */ public void setRegistryName(String registryName) { this.registryName = registryName; } /** ** The name of the registry. *
* * @return The name of the registry. */ public String getRegistryName() { return this.registryName; } /** ** The name of the registry. *
* * @param registryName * The name of the registry. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRegistryRequest withRegistryName(String registryName) { setRegistryName(registryName); return this; } /** ** Tags to associate with the registry. *
* * @return Tags to associate with the registry. */ public java.util.Map* Tags to associate with the registry. *
* * @param tags * Tags to associate with the registry. */ public void setTags(java.util.Map* Tags to associate with the registry. *
* * @param tags * Tags to associate with the registry. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRegistryRequest withTags(java.util.Map