@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElasticBeanstalkEnvironmentTier extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the tier of the environment.
Constructor and Description |
---|
AwsElasticBeanstalkEnvironmentTier() |
Modifier and Type | Method and Description |
---|---|
AwsElasticBeanstalkEnvironmentTier |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the environment tier.
|
String |
getType()
The type of environment tier.
|
String |
getVersion()
The version of the environment tier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the environment tier.
|
void |
setType(String type)
The type of environment tier.
|
void |
setVersion(String version)
The version of the environment tier.
|
String |
toString()
Returns a string representation of this object.
|
AwsElasticBeanstalkEnvironmentTier |
withName(String name)
The name of the environment tier.
|
AwsElasticBeanstalkEnvironmentTier |
withType(String type)
The type of environment tier.
|
AwsElasticBeanstalkEnvironmentTier |
withVersion(String version)
The version of the environment tier.
|
public void setName(String name)
The name of the environment tier. Valid values are WebServer
or Worker
.
name
- The name of the environment tier. Valid values are WebServer
or Worker
.public String getName()
The name of the environment tier. Valid values are WebServer
or Worker
.
WebServer
or Worker
.public AwsElasticBeanstalkEnvironmentTier withName(String name)
The name of the environment tier. Valid values are WebServer
or Worker
.
name
- The name of the environment tier. Valid values are WebServer
or Worker
.public void setType(String type)
The type of environment tier. Valid values are Standard
or SQS/HTTP
.
type
- The type of environment tier. Valid values are Standard
or SQS/HTTP
.public String getType()
The type of environment tier. Valid values are Standard
or SQS/HTTP
.
Standard
or SQS/HTTP
.public AwsElasticBeanstalkEnvironmentTier withType(String type)
The type of environment tier. Valid values are Standard
or SQS/HTTP
.
type
- The type of environment tier. Valid values are Standard
or SQS/HTTP
.public void setVersion(String version)
The version of the environment tier.
version
- The version of the environment tier.public String getVersion()
The version of the environment tier.
public AwsElasticBeanstalkEnvironmentTier withVersion(String version)
The version of the environment tier.
version
- The version of the environment tier.public String toString()
toString
in class Object
Object.toString()
public AwsElasticBeanstalkEnvironmentTier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.