/* * 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.robomaker.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 CreateRobotRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name for the robot. *
*/ private String name; /** ** The target architecture of the robot. *
*/ private String architecture; /** ** The Greengrass group id. *
*/ private String greengrassGroupId; /** ** A map that contains tag keys and tag values that are attached to the robot. *
*/ private java.util.Map* The name for the robot. *
* * @param name * The name for the robot. */ public void setName(String name) { this.name = name; } /** ** The name for the robot. *
* * @return The name for the robot. */ public String getName() { return this.name; } /** ** The name for the robot. *
* * @param name * The name for the robot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRobotRequest withName(String name) { setName(name); return this; } /** ** The target architecture of the robot. *
* * @param architecture * The target architecture of the robot. * @see Architecture */ public void setArchitecture(String architecture) { this.architecture = architecture; } /** ** The target architecture of the robot. *
* * @return The target architecture of the robot. * @see Architecture */ public String getArchitecture() { return this.architecture; } /** ** The target architecture of the robot. *
* * @param architecture * The target architecture of the robot. * @return Returns a reference to this object so that method calls can be chained together. * @see Architecture */ public CreateRobotRequest withArchitecture(String architecture) { setArchitecture(architecture); return this; } /** ** The target architecture of the robot. *
* * @param architecture * The target architecture of the robot. * @return Returns a reference to this object so that method calls can be chained together. * @see Architecture */ public CreateRobotRequest withArchitecture(Architecture architecture) { this.architecture = architecture.toString(); return this; } /** ** The Greengrass group id. *
* * @param greengrassGroupId * The Greengrass group id. */ public void setGreengrassGroupId(String greengrassGroupId) { this.greengrassGroupId = greengrassGroupId; } /** ** The Greengrass group id. *
* * @return The Greengrass group id. */ public String getGreengrassGroupId() { return this.greengrassGroupId; } /** ** The Greengrass group id. *
* * @param greengrassGroupId * The Greengrass group id. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRobotRequest withGreengrassGroupId(String greengrassGroupId) { setGreengrassGroupId(greengrassGroupId); return this; } /** ** A map that contains tag keys and tag values that are attached to the robot. *
* * @return A map that contains tag keys and tag values that are attached to the robot. */ public java.util.Map* A map that contains tag keys and tag values that are attached to the robot. *
* * @param tags * A map that contains tag keys and tag values that are attached to the robot. */ public void setTags(java.util.Map* A map that contains tag keys and tag values that are attached to the robot. *
* * @param tags * A map that contains tag keys and tag values that are attached to the robot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRobotRequest withTags(java.util.Map