/* * 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.elasticbeanstalk.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Describes the solution stack. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SolutionStackDescription implements Serializable, Cloneable { /** ** The name of the solution stack. *
*/ private String solutionStackName; /** ** The permitted file types allowed for a solution stack. *
*/ private com.amazonaws.internal.SdkInternalList* The name of the solution stack. *
* * @param solutionStackName * The name of the solution stack. */ public void setSolutionStackName(String solutionStackName) { this.solutionStackName = solutionStackName; } /** ** The name of the solution stack. *
* * @return The name of the solution stack. */ public String getSolutionStackName() { return this.solutionStackName; } /** ** The name of the solution stack. *
* * @param solutionStackName * The name of the solution stack. * @return Returns a reference to this object so that method calls can be chained together. */ public SolutionStackDescription withSolutionStackName(String solutionStackName) { setSolutionStackName(solutionStackName); return this; } /** ** The permitted file types allowed for a solution stack. *
* * @return The permitted file types allowed for a solution stack. */ public java.util.List* The permitted file types allowed for a solution stack. *
* * @param permittedFileTypes * The permitted file types allowed for a solution stack. */ public void setPermittedFileTypes(java.util.Collection* The permitted file types allowed for a solution stack. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPermittedFileTypes(java.util.Collection)} or {@link #withPermittedFileTypes(java.util.Collection)} if * you want to override the existing values. *
* * @param permittedFileTypes * The permitted file types allowed for a solution stack. * @return Returns a reference to this object so that method calls can be chained together. */ public SolutionStackDescription withPermittedFileTypes(String... permittedFileTypes) { if (this.permittedFileTypes == null) { setPermittedFileTypes(new com.amazonaws.internal.SdkInternalList* The permitted file types allowed for a solution stack. *
* * @param permittedFileTypes * The permitted file types allowed for a solution stack. * @return Returns a reference to this object so that method calls can be chained together. */ public SolutionStackDescription withPermittedFileTypes(java.util.Collection