/* * 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.iottwinmaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The component update request. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ComponentUpdateRequest implements Serializable, Cloneable, StructuredPojo { /** ** The update type of the component update request. *
*/ private String updateType; /** ** The description of the component type. *
*/ private String description; /** ** The ID of the component type. *
*/ private String componentTypeId; /** ** An object that maps strings to the properties to set in the component type update. Each string in the mapping * must be unique to this object. *
*/ private java.util.Map* The property group updates. *
*/ private java.util.Map* The update type of the component update request. *
* * @param updateType * The update type of the component update request. * @see ComponentUpdateType */ public void setUpdateType(String updateType) { this.updateType = updateType; } /** ** The update type of the component update request. *
* * @return The update type of the component update request. * @see ComponentUpdateType */ public String getUpdateType() { return this.updateType; } /** ** The update type of the component update request. *
* * @param updateType * The update type of the component update request. * @return Returns a reference to this object so that method calls can be chained together. * @see ComponentUpdateType */ public ComponentUpdateRequest withUpdateType(String updateType) { setUpdateType(updateType); return this; } /** ** The update type of the component update request. *
* * @param updateType * The update type of the component update request. * @return Returns a reference to this object so that method calls can be chained together. * @see ComponentUpdateType */ public ComponentUpdateRequest withUpdateType(ComponentUpdateType updateType) { this.updateType = updateType.toString(); return this; } /** ** The description of the component type. *
* * @param description * The description of the component type. */ public void setDescription(String description) { this.description = description; } /** ** The description of the component type. *
* * @return The description of the component type. */ public String getDescription() { return this.description; } /** ** The description of the component type. *
* * @param description * The description of the component type. * @return Returns a reference to this object so that method calls can be chained together. */ public ComponentUpdateRequest withDescription(String description) { setDescription(description); return this; } /** ** The ID of the component type. *
* * @param componentTypeId * The ID of the component type. */ public void setComponentTypeId(String componentTypeId) { this.componentTypeId = componentTypeId; } /** ** The ID of the component type. *
* * @return The ID of the component type. */ public String getComponentTypeId() { return this.componentTypeId; } /** ** The ID of the component type. *
* * @param componentTypeId * The ID of the component type. * @return Returns a reference to this object so that method calls can be chained together. */ public ComponentUpdateRequest withComponentTypeId(String componentTypeId) { setComponentTypeId(componentTypeId); return this; } /** ** An object that maps strings to the properties to set in the component type update. Each string in the mapping * must be unique to this object. *
* * @return An object that maps strings to the properties to set in the component type update. Each string in the * mapping must be unique to this object. */ public java.util.Map* An object that maps strings to the properties to set in the component type update. Each string in the mapping * must be unique to this object. *
* * @param propertyUpdates * An object that maps strings to the properties to set in the component type update. Each string in the * mapping must be unique to this object. */ public void setPropertyUpdates(java.util.Map* An object that maps strings to the properties to set in the component type update. Each string in the mapping * must be unique to this object. *
* * @param propertyUpdates * An object that maps strings to the properties to set in the component type update. Each string in the * mapping must be unique to this object. * @return Returns a reference to this object so that method calls can be chained together. */ public ComponentUpdateRequest withPropertyUpdates(java.util.Map* The property group updates. *
* * @return The property group updates. */ public java.util.Map* The property group updates. *
* * @param propertyGroupUpdates * The property group updates. */ public void setPropertyGroupUpdates(java.util.Map* The property group updates. *
* * @param propertyGroupUpdates * The property group updates. * @return Returns a reference to this object so that method calls can be chained together. */ public ComponentUpdateRequest withPropertyGroupUpdates(java.util.Map