Class SolutionStackDescription
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.SolutionStackDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SolutionStackDescription extends Object implements Serializable, Cloneable
Describes the solution stack.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SolutionStackDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolutionStackDescription
clone()
boolean
equals(Object obj)
List<String>
getPermittedFileTypes()
The permitted file types allowed for a solution stack.String
getSolutionStackName()
The name of the solution stack.int
hashCode()
void
setPermittedFileTypes(Collection<String> permittedFileTypes)
The permitted file types allowed for a solution stack.void
setSolutionStackName(String solutionStackName)
The name of the solution stack.String
toString()
Returns a string representation of this object; useful for testing and debugging.SolutionStackDescription
withPermittedFileTypes(String... permittedFileTypes)
The permitted file types allowed for a solution stack.SolutionStackDescription
withPermittedFileTypes(Collection<String> permittedFileTypes)
The permitted file types allowed for a solution stack.SolutionStackDescription
withSolutionStackName(String solutionStackName)
The name of the solution stack.
-
-
-
Method Detail
-
setSolutionStackName
public void setSolutionStackName(String solutionStackName)
The name of the solution stack.
- Parameters:
solutionStackName
- The name of the solution stack.
-
getSolutionStackName
public String getSolutionStackName()
The name of the solution stack.
- Returns:
- The name of the solution stack.
-
withSolutionStackName
public SolutionStackDescription withSolutionStackName(String solutionStackName)
The name of the solution stack.
- Parameters:
solutionStackName
- The name of the solution stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPermittedFileTypes
public List<String> getPermittedFileTypes()
The permitted file types allowed for a solution stack.
- Returns:
- The permitted file types allowed for a solution stack.
-
setPermittedFileTypes
public void setPermittedFileTypes(Collection<String> permittedFileTypes)
The permitted file types allowed for a solution stack.
- Parameters:
permittedFileTypes
- The permitted file types allowed for a solution stack.
-
withPermittedFileTypes
public SolutionStackDescription withPermittedFileTypes(String... permittedFileTypes)
The permitted file types allowed for a solution stack.
NOTE: This method appends the values to the existing list (if any). Use
setPermittedFileTypes(java.util.Collection)
orwithPermittedFileTypes(java.util.Collection)
if you want to override the existing values.- Parameters:
permittedFileTypes
- The permitted file types allowed for a solution stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPermittedFileTypes
public SolutionStackDescription withPermittedFileTypes(Collection<String> permittedFileTypes)
The permitted file types allowed for a solution stack.
- Parameters:
permittedFileTypes
- The permitted file types allowed for a solution stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SolutionStackDescription clone()
-
-