/* * 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.sagemaker.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 CreateEdgeDeploymentPlanRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the edge deployment plan. *
*/ private String edgeDeploymentPlanName; /** ** List of models associated with the edge deployment plan. *
*/ private java.util.List* The device fleet used for this edge deployment plan. *
*/ private String deviceFleetName; /** ** List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. *
*/ private java.util.List* List of tags with which to tag the edge deployment plan. *
*/ private java.util.List* The name of the edge deployment plan. *
* * @param edgeDeploymentPlanName * The name of the edge deployment plan. */ public void setEdgeDeploymentPlanName(String edgeDeploymentPlanName) { this.edgeDeploymentPlanName = edgeDeploymentPlanName; } /** ** The name of the edge deployment plan. *
* * @return The name of the edge deployment plan. */ public String getEdgeDeploymentPlanName() { return this.edgeDeploymentPlanName; } /** ** The name of the edge deployment plan. *
* * @param edgeDeploymentPlanName * The name of the edge deployment plan. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withEdgeDeploymentPlanName(String edgeDeploymentPlanName) { setEdgeDeploymentPlanName(edgeDeploymentPlanName); return this; } /** ** List of models associated with the edge deployment plan. *
* * @return List of models associated with the edge deployment plan. */ public java.util.List* List of models associated with the edge deployment plan. *
* * @param modelConfigs * List of models associated with the edge deployment plan. */ public void setModelConfigs(java.util.Collection* List of models associated with the edge deployment plan. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setModelConfigs(java.util.Collection)} or {@link #withModelConfigs(java.util.Collection)} if you want to * override the existing values. *
* * @param modelConfigs * List of models associated with the edge deployment plan. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withModelConfigs(EdgeDeploymentModelConfig... modelConfigs) { if (this.modelConfigs == null) { setModelConfigs(new java.util.ArrayList* List of models associated with the edge deployment plan. *
* * @param modelConfigs * List of models associated with the edge deployment plan. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withModelConfigs(java.util.Collection* The device fleet used for this edge deployment plan. *
* * @param deviceFleetName * The device fleet used for this edge deployment plan. */ public void setDeviceFleetName(String deviceFleetName) { this.deviceFleetName = deviceFleetName; } /** ** The device fleet used for this edge deployment plan. *
* * @return The device fleet used for this edge deployment plan. */ public String getDeviceFleetName() { return this.deviceFleetName; } /** ** The device fleet used for this edge deployment plan. *
* * @param deviceFleetName * The device fleet used for this edge deployment plan. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withDeviceFleetName(String deviceFleetName) { setDeviceFleetName(deviceFleetName); return this; } /** ** List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. *
* * @return List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. */ public java.util.List* List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. *
* * @param stages * List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. */ public void setStages(java.util.Collection* List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setStages(java.util.Collection)} or {@link #withStages(java.util.Collection)} if you want to override the * existing values. *
* * @param stages * List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withStages(DeploymentStage... stages) { if (this.stages == null) { setStages(new java.util.ArrayList* List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. *
* * @param stages * List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withStages(java.util.Collection* List of tags with which to tag the edge deployment plan. *
* * @return List of tags with which to tag the edge deployment plan. */ public java.util.List* List of tags with which to tag the edge deployment plan. *
* * @param tags * List of tags with which to tag the edge deployment plan. */ public void setTags(java.util.Collection* List of tags with which to tag the edge deployment plan. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * List of tags with which to tag the edge deployment plan. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* List of tags with which to tag the edge deployment plan. *
* * @param tags * List of tags with which to tag the edge deployment plan. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEdgeDeploymentPlanRequest withTags(java.util.Collection