@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSpec extends Object implements Serializable, Cloneable, StructuredPojo
The instance type and quantity.
| Constructor and Description |
|---|
ResourceSpec() |
| Modifier and Type | Method and Description |
|---|---|
ResourceSpec |
clone() |
boolean |
equals(Object obj) |
String |
getEnvironmentArn()
The Amazon Resource Name (ARN) of the environment.
|
String |
getInstanceType()
The instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the environment.
|
void |
setInstanceType(String instanceType)
The instance type.
|
String |
toString()
Returns a string representation of this object.
|
ResourceSpec |
withEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the environment.
|
ResourceSpec |
withInstanceType(AppInstanceType instanceType)
The instance type.
|
ResourceSpec |
withInstanceType(String instanceType)
The instance type.
|
public void setEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the environment.
environmentArn - The Amazon Resource Name (ARN) of the environment.public String getEnvironmentArn()
The Amazon Resource Name (ARN) of the environment.
public ResourceSpec withEnvironmentArn(String environmentArn)
The Amazon Resource Name (ARN) of the environment.
environmentArn - The Amazon Resource Name (ARN) of the environment.public void setInstanceType(String instanceType)
The instance type.
instanceType - The instance type.AppInstanceTypepublic String getInstanceType()
The instance type.
AppInstanceTypepublic ResourceSpec withInstanceType(String instanceType)
The instance type.
instanceType - The instance type.AppInstanceTypepublic ResourceSpec withInstanceType(AppInstanceType instanceType)
The instance type.
instanceType - The instance type.AppInstanceTypepublic String toString()
toString in class ObjectObject.toString()public ResourceSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.