/* * 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.config.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 PutResourceConfigRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The type of the resource. The custom resource type must be registered with CloudFormation. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the * first part of the ResourceType up to the first ::. *
** Version of the schema registered for the ResourceType in CloudFormation. *
*/ private String schemaVersionId; /** ** Unique identifier of the resource. *
*/ private String resourceId; /** ** Name of the resource. *
*/ private String resourceName; /** ** The configuration object of the resource in valid JSON format. It must match the schema registered with * CloudFormation. *
** The configuration JSON must not exceed 64 KB. *
** Tags associated with the resource. *
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
* Tags for PutResourceConfig
are tags that you supply for the configuration items of your custom
* resources.
*
* The type of the resource. The custom resource type must be registered with CloudFormation. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the * first part of the ResourceType up to the first ::. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It * is the first part of the ResourceType up to the first ::. *
*/ public void setResourceType(String resourceType) { this.resourceType = resourceType; } /** ** The type of the resource. The custom resource type must be registered with CloudFormation. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the * first part of the ResourceType up to the first ::. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It * is the first part of the ResourceType up to the first ::. *
*/ public String getResourceType() { return this.resourceType; } /** ** The type of the resource. The custom resource type must be registered with CloudFormation. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the * first part of the ResourceType up to the first ::. *
** You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It * is the first part of the ResourceType up to the first ::. *
* @return Returns a reference to this object so that method calls can be chained together. */ public PutResourceConfigRequest withResourceType(String resourceType) { setResourceType(resourceType); return this; } /** ** Version of the schema registered for the ResourceType in CloudFormation. *
* * @param schemaVersionId * Version of the schema registered for the ResourceType in CloudFormation. */ public void setSchemaVersionId(String schemaVersionId) { this.schemaVersionId = schemaVersionId; } /** ** Version of the schema registered for the ResourceType in CloudFormation. *
* * @return Version of the schema registered for the ResourceType in CloudFormation. */ public String getSchemaVersionId() { return this.schemaVersionId; } /** ** Version of the schema registered for the ResourceType in CloudFormation. *
* * @param schemaVersionId * Version of the schema registered for the ResourceType in CloudFormation. * @return Returns a reference to this object so that method calls can be chained together. */ public PutResourceConfigRequest withSchemaVersionId(String schemaVersionId) { setSchemaVersionId(schemaVersionId); return this; } /** ** Unique identifier of the resource. *
* * @param resourceId * Unique identifier of the resource. */ public void setResourceId(String resourceId) { this.resourceId = resourceId; } /** ** Unique identifier of the resource. *
* * @return Unique identifier of the resource. */ public String getResourceId() { return this.resourceId; } /** ** Unique identifier of the resource. *
* * @param resourceId * Unique identifier of the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public PutResourceConfigRequest withResourceId(String resourceId) { setResourceId(resourceId); return this; } /** ** Name of the resource. *
* * @param resourceName * Name of the resource. */ public void setResourceName(String resourceName) { this.resourceName = resourceName; } /** ** Name of the resource. *
* * @return Name of the resource. */ public String getResourceName() { return this.resourceName; } /** ** Name of the resource. *
* * @param resourceName * Name of the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public PutResourceConfigRequest withResourceName(String resourceName) { setResourceName(resourceName); return this; } /** ** The configuration object of the resource in valid JSON format. It must match the schema registered with * CloudFormation. *
** The configuration JSON must not exceed 64 KB. *
** The configuration JSON must not exceed 64 KB. *
*/ public void setConfiguration(String configuration) { this.configuration = configuration; } /** ** The configuration object of the resource in valid JSON format. It must match the schema registered with * CloudFormation. *
** The configuration JSON must not exceed 64 KB. *
** The configuration JSON must not exceed 64 KB. *
*/ public String getConfiguration() { return this.configuration; } /** ** The configuration object of the resource in valid JSON format. It must match the schema registered with * CloudFormation. *
** The configuration JSON must not exceed 64 KB. *
** The configuration JSON must not exceed 64 KB. *
* @return Returns a reference to this object so that method calls can be chained together. */ public PutResourceConfigRequest withConfiguration(String configuration) { setConfiguration(configuration); return this; } /** ** Tags associated with the resource. *
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
* Tags for PutResourceConfig
are tags that you supply for the configuration items of your custom
* resources.
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services
* resources. Tags for PutResourceConfig
are tags that you supply for the configuration items
* of your custom resources.
*
* Tags associated with the resource. *
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
* Tags for PutResourceConfig
are tags that you supply for the configuration items of your custom
* resources.
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services
* resources. Tags for PutResourceConfig
are tags that you supply for the configuration items of
* your custom resources.
*
* Tags associated with the resource. *
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
* Tags for PutResourceConfig
are tags that you supply for the configuration items of your custom
* resources.
*
* This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services
* resources. Tags for PutResourceConfig
are tags that you supply for the configuration items of
* your custom resources.
*