@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentTier extends Object implements Serializable, Cloneable
Describes the properties of an environment tier
Constructor and Description |
---|
EnvironmentTier() |
Modifier and Type | Method and 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.
|
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.
|
public void setName(String name)
The name of this environment tier.
Valid values:
For Web server tier – WebServer
For Worker tier – Worker
name
- The name of this environment tier.
Valid values:
For Web server tier – WebServer
For Worker tier – Worker
public String getName()
The name of this environment tier.
Valid values:
For Web server tier – WebServer
For Worker tier – Worker
Valid values:
For Web server tier – WebServer
For Worker tier – Worker
public EnvironmentTier withName(String name)
The name of this environment tier.
Valid values:
For Web server tier – WebServer
For Worker tier – Worker
name
- The name of this environment tier.
Valid values:
For Web server tier – WebServer
For Worker tier – Worker
public void setType(String type)
The type of this environment tier.
Valid values:
For Web server tier – Standard
For Worker tier – SQS/HTTP
type
- The type of this environment tier.
Valid values:
For Web server tier – Standard
For Worker tier – SQS/HTTP
public String getType()
The type of this environment tier.
Valid values:
For Web server tier – Standard
For Worker tier – SQS/HTTP
Valid values:
For Web server tier – Standard
For Worker tier – SQS/HTTP
public EnvironmentTier withType(String type)
The type of this environment tier.
Valid values:
For Web server tier – Standard
For Worker tier – SQS/HTTP
type
- The type of this environment tier.
Valid values:
For Web server tier – Standard
For Worker tier – SQS/HTTP
public void setVersion(String version)
The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
version
- The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest
compatible worker tier version. This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
public String getVersion()
The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
public EnvironmentTier withVersion(String version)
The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
version
- The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest
compatible worker tier version. This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
public String toString()
toString
in class Object
Object.toString()
public EnvironmentTier clone()