/* * 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.resourcegroups.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 PutGroupConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name or ARN of the resource group with the configuration that you want to update. *
*/ private String group; /** ** The new configuration to associate with the specified group. A configuration associates the resource group with * an Amazon Web Services service and specifies how the service can interact with the resources in the group. A * configuration is an array of GroupConfigurationItem elements. *
** For information about the syntax of a service configuration, see Service configurations for Resource * Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not both.
*
* The name or ARN of the resource group with the configuration that you want to update. *
* * @param group * The name or ARN of the resource group with the configuration that you want to update. */ public void setGroup(String group) { this.group = group; } /** ** The name or ARN of the resource group with the configuration that you want to update. *
* * @return The name or ARN of the resource group with the configuration that you want to update. */ public String getGroup() { return this.group; } /** ** The name or ARN of the resource group with the configuration that you want to update. *
* * @param group * The name or ARN of the resource group with the configuration that you want to update. * @return Returns a reference to this object so that method calls can be chained together. */ public PutGroupConfigurationRequest withGroup(String group) { setGroup(group); return this; } /** ** The new configuration to associate with the specified group. A configuration associates the resource group with * an Amazon Web Services service and specifies how the service can interact with the resources in the group. A * configuration is an array of GroupConfigurationItem elements. *
** For information about the syntax of a service configuration, see Service configurations for Resource * Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not both.
*
* For information about the syntax of a service configuration, see Service configurations for * Resource Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not
* both.
*
* The new configuration to associate with the specified group. A configuration associates the resource group with * an Amazon Web Services service and specifies how the service can interact with the resources in the group. A * configuration is an array of GroupConfigurationItem elements. *
** For information about the syntax of a service configuration, see Service configurations for Resource * Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not both.
*
* For information about the syntax of a service configuration, see Service configurations for * Resource Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not
* both.
*
* The new configuration to associate with the specified group. A configuration associates the resource group with * an Amazon Web Services service and specifies how the service can interact with the resources in the group. A * configuration is an array of GroupConfigurationItem elements. *
** For information about the syntax of a service configuration, see Service configurations for Resource * Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not both.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setConfiguration(java.util.Collection)} or {@link #withConfiguration(java.util.Collection)} if you want * to override the existing values. *
* * @param configuration * The new configuration to associate with the specified group. A configuration associates the resource group * with an Amazon Web Services service and specifies how the service can interact with the resources in the * group. A configuration is an array of GroupConfigurationItem elements. ** For information about the syntax of a service configuration, see Service configurations for * Resource Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not
* both.
*
* The new configuration to associate with the specified group. A configuration associates the resource group with * an Amazon Web Services service and specifies how the service can interact with the resources in the group. A * configuration is an array of GroupConfigurationItem elements. *
** For information about the syntax of a service configuration, see Service configurations for Resource * Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not both.
*
* For information about the syntax of a service configuration, see Service configurations for * Resource Groups. *
*
* A resource group can contain either a Configuration
or a ResourceQuery
, but not
* both.
*