/* * 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 CreateDeploymentJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The requested deployment configuration. *
*/ private DeploymentConfig deploymentConfig; /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
*/ private String clientRequestToken; /** ** The Amazon Resource Name (ARN) of the fleet to deploy. *
*/ private String fleet; /** ** The deployment application configuration. *
*/ private java.util.List* A map that contains tag keys and tag values that are attached to the deployment job. *
*/ private java.util.Map* The requested deployment configuration. *
* * @param deploymentConfig * The requested deployment configuration. */ public void setDeploymentConfig(DeploymentConfig deploymentConfig) { this.deploymentConfig = deploymentConfig; } /** ** The requested deployment configuration. *
* * @return The requested deployment configuration. */ public DeploymentConfig getDeploymentConfig() { return this.deploymentConfig; } /** ** The requested deployment configuration. *
* * @param deploymentConfig * The requested deployment configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeploymentJobRequest withDeploymentConfig(DeploymentConfig deploymentConfig) { setDeploymentConfig(deploymentConfig); return this; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @param clientRequestToken * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @return Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ public String getClientRequestToken() { return this.clientRequestToken; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @param clientRequestToken * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeploymentJobRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** The Amazon Resource Name (ARN) of the fleet to deploy. *
* * @param fleet * The Amazon Resource Name (ARN) of the fleet to deploy. */ public void setFleet(String fleet) { this.fleet = fleet; } /** ** The Amazon Resource Name (ARN) of the fleet to deploy. *
* * @return The Amazon Resource Name (ARN) of the fleet to deploy. */ public String getFleet() { return this.fleet; } /** ** The Amazon Resource Name (ARN) of the fleet to deploy. *
* * @param fleet * The Amazon Resource Name (ARN) of the fleet to deploy. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeploymentJobRequest withFleet(String fleet) { setFleet(fleet); return this; } /** ** The deployment application configuration. *
* * @return The deployment application configuration. */ public java.util.List* The deployment application configuration. *
* * @param deploymentApplicationConfigs * The deployment application configuration. */ public void setDeploymentApplicationConfigs(java.util.Collection* The deployment application configuration. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDeploymentApplicationConfigs(java.util.Collection)} or * {@link #withDeploymentApplicationConfigs(java.util.Collection)} if you want to override the existing values. *
* * @param deploymentApplicationConfigs * The deployment application configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeploymentJobRequest withDeploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs) { if (this.deploymentApplicationConfigs == null) { setDeploymentApplicationConfigs(new java.util.ArrayList* The deployment application configuration. *
* * @param deploymentApplicationConfigs * The deployment application configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeploymentJobRequest withDeploymentApplicationConfigs(java.util.Collection* A map that contains tag keys and tag values that are attached to the deployment job. *
* * @return A map that contains tag keys and tag values that are attached to the deployment job. */ public java.util.Map* A map that contains tag keys and tag values that are attached to the deployment job. *
* * @param tags * A map that contains tag keys and tag values that are attached to the deployment job. */ public void setTags(java.util.Map* A map that contains tag keys and tag values that are attached to the deployment job. *
* * @param tags * A map that contains tag keys and tag values that are attached to the deployment job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeploymentJobRequest withTags(java.util.Map