/* * 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.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateSceneRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The ID of the workspace that contains the scene. *
*/ private String workspaceId; /** ** The ID of the scene. *
*/ private String sceneId; /** ** The relative path that specifies the location of the content definition file. *
*/ private String contentLocation; /** ** The description of this scene. *
*/ private String description; /** ** A list of capabilities that the scene uses to render. *
*/ private java.util.List* The scene metadata. *
*/ private java.util.Map* The ID of the workspace that contains the scene. *
* * @param workspaceId * The ID of the workspace that contains the scene. */ public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } /** ** The ID of the workspace that contains the scene. *
* * @return The ID of the workspace that contains the scene. */ public String getWorkspaceId() { return this.workspaceId; } /** ** The ID of the workspace that contains the scene. *
* * @param workspaceId * The ID of the workspace that contains the scene. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withWorkspaceId(String workspaceId) { setWorkspaceId(workspaceId); return this; } /** ** The ID of the scene. *
* * @param sceneId * The ID of the scene. */ public void setSceneId(String sceneId) { this.sceneId = sceneId; } /** ** The ID of the scene. *
* * @return The ID of the scene. */ public String getSceneId() { return this.sceneId; } /** ** The ID of the scene. *
* * @param sceneId * The ID of the scene. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withSceneId(String sceneId) { setSceneId(sceneId); return this; } /** ** The relative path that specifies the location of the content definition file. *
* * @param contentLocation * The relative path that specifies the location of the content definition file. */ public void setContentLocation(String contentLocation) { this.contentLocation = contentLocation; } /** ** The relative path that specifies the location of the content definition file. *
* * @return The relative path that specifies the location of the content definition file. */ public String getContentLocation() { return this.contentLocation; } /** ** The relative path that specifies the location of the content definition file. *
* * @param contentLocation * The relative path that specifies the location of the content definition file. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withContentLocation(String contentLocation) { setContentLocation(contentLocation); return this; } /** ** The description of this scene. *
* * @param description * The description of this scene. */ public void setDescription(String description) { this.description = description; } /** ** The description of this scene. *
* * @return The description of this scene. */ public String getDescription() { return this.description; } /** ** The description of this scene. *
* * @param description * The description of this scene. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withDescription(String description) { setDescription(description); return this; } /** ** A list of capabilities that the scene uses to render. *
* * @return A list of capabilities that the scene uses to render. */ public java.util.List* A list of capabilities that the scene uses to render. *
* * @param capabilities * A list of capabilities that the scene uses to render. */ public void setCapabilities(java.util.Collection* A list of capabilities that the scene uses to render. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCapabilities(java.util.Collection)} or {@link #withCapabilities(java.util.Collection)} if you want to * override the existing values. *
* * @param capabilities * A list of capabilities that the scene uses to render. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withCapabilities(String... capabilities) { if (this.capabilities == null) { setCapabilities(new java.util.ArrayList* A list of capabilities that the scene uses to render. *
* * @param capabilities * A list of capabilities that the scene uses to render. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withCapabilities(java.util.Collection* The scene metadata. *
* * @return The scene metadata. */ public java.util.Map* The scene metadata. *
* * @param sceneMetadata * The scene metadata. */ public void setSceneMetadata(java.util.Map* The scene metadata. *
* * @param sceneMetadata * The scene metadata. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSceneRequest withSceneMetadata(java.util.Map