/* * 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.iotsitewise.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 CreateDashboardRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The ID of the project in which to create the dashboard. *
*/ private String projectId; /** ** A friendly name for the dashboard. *
*/ private String dashboardName; /** ** A description for the dashboard. *
*/ private String dashboardDescription; /** ** The dashboard definition specified in a JSON literal. For detailed information, see Creating * dashboards (CLI) in the IoT SiteWise User Guide. *
*/ private String dashboardDefinition; /** ** A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse * this client token if a new idempotent request is required. *
*/ private String clientToken; /** ** A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise * resources in the IoT SiteWise User Guide. *
*/ private java.util.Map* The ID of the project in which to create the dashboard. *
* * @param projectId * The ID of the project in which to create the dashboard. */ public void setProjectId(String projectId) { this.projectId = projectId; } /** ** The ID of the project in which to create the dashboard. *
* * @return The ID of the project in which to create the dashboard. */ public String getProjectId() { return this.projectId; } /** ** The ID of the project in which to create the dashboard. *
* * @param projectId * The ID of the project in which to create the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDashboardRequest withProjectId(String projectId) { setProjectId(projectId); return this; } /** ** A friendly name for the dashboard. *
* * @param dashboardName * A friendly name for the dashboard. */ public void setDashboardName(String dashboardName) { this.dashboardName = dashboardName; } /** ** A friendly name for the dashboard. *
* * @return A friendly name for the dashboard. */ public String getDashboardName() { return this.dashboardName; } /** ** A friendly name for the dashboard. *
* * @param dashboardName * A friendly name for the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDashboardRequest withDashboardName(String dashboardName) { setDashboardName(dashboardName); return this; } /** ** A description for the dashboard. *
* * @param dashboardDescription * A description for the dashboard. */ public void setDashboardDescription(String dashboardDescription) { this.dashboardDescription = dashboardDescription; } /** ** A description for the dashboard. *
* * @return A description for the dashboard. */ public String getDashboardDescription() { return this.dashboardDescription; } /** ** A description for the dashboard. *
* * @param dashboardDescription * A description for the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDashboardRequest withDashboardDescription(String dashboardDescription) { setDashboardDescription(dashboardDescription); return this; } /** ** The dashboard definition specified in a JSON literal. For detailed information, see Creating * dashboards (CLI) in the IoT SiteWise User Guide. *
* * @param dashboardDefinition * The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide. */ public void setDashboardDefinition(String dashboardDefinition) { this.dashboardDefinition = dashboardDefinition; } /** ** The dashboard definition specified in a JSON literal. For detailed information, see Creating * dashboards (CLI) in the IoT SiteWise User Guide. *
* * @return The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide. */ public String getDashboardDefinition() { return this.dashboardDefinition; } /** ** The dashboard definition specified in a JSON literal. For detailed information, see Creating * dashboards (CLI) in the IoT SiteWise User Guide. *
* * @param dashboardDefinition * The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDashboardRequest withDashboardDefinition(String dashboardDefinition) { setDashboardDefinition(dashboardDefinition); return this; } /** ** A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse * this client token if a new idempotent request is required. *
* * @param clientToken * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't * reuse this client token if a new idempotent request is required. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse * this client token if a new idempotent request is required. *
* * @return A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't * reuse this client token if a new idempotent request is required. */ public String getClientToken() { return this.clientToken; } /** ** A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse * this client token if a new idempotent request is required. *
* * @param clientToken * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't * reuse this client token if a new idempotent request is required. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDashboardRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise * resources in the IoT SiteWise User Guide. *
* * @return A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT * SiteWise resources in the IoT SiteWise User Guide. */ public java.util.Map* A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise * resources in the IoT SiteWise User Guide. *
* * @param tags * A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT * SiteWise resources in the IoT SiteWise User Guide. */ public void setTags(java.util.Map* A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise * resources in the IoT SiteWise User Guide. *
* * @param tags * A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT * SiteWise resources in the IoT SiteWise User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDashboardRequest withTags(java.util.Map