Class EnvironmentTier
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.EnvironmentTier
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class EnvironmentTier extends Object implements Serializable, Cloneable
Describes the properties of an environment tier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnvironmentTier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentTier
clone()
boolean
equals(Object obj)
String
getName()
The name of this environment tier.String
getType()
The type of this environment tier.String
getVersion()
The version of this environment tier.int
hashCode()
void
setName(String name)
The name of this environment tier.void
setType(String type)
The type of this environment tier.void
setVersion(String version)
The version of this environment tier.String
toString()
Returns a string representation of this object; useful for testing and debugging.EnvironmentTier
withName(String name)
The name of this environment tier.EnvironmentTier
withType(String type)
The type of this environment tier.EnvironmentTier
withVersion(String version)
The version of this environment tier.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of this environment tier.
- Parameters:
name
- The name of this environment tier.
-
getName
public String getName()
The name of this environment tier.
- Returns:
- The name of this environment tier.
-
withName
public EnvironmentTier withName(String name)
The name of this environment tier.
- Parameters:
name
- The name of this environment tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
public void setType(String type)
The type of this environment tier.
- Parameters:
type
- The type of this environment tier.
-
getType
public String getType()
The type of this environment tier.
- Returns:
- The type of this environment tier.
-
withType
public EnvironmentTier withType(String type)
The type of this environment tier.
- Parameters:
type
- The type of this environment tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(String version)
The version of this environment tier.
- Parameters:
version
- The version of this environment tier.
-
getVersion
public String getVersion()
The version of this environment tier.
- Returns:
- The version of this environment tier.
-
withVersion
public EnvironmentTier withVersion(String version)
The version of this environment tier.
- Parameters:
version
- The version of this environment tier.- 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 EnvironmentTier clone()
-
-