@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationComponent extends Object implements Serializable, Cloneable, StructuredPojo
Describes a standalone resource or similarly grouped resources that the application is made up of.
Constructor and Description |
---|
ApplicationComponent() |
Modifier and Type | Method and Description |
---|---|
ApplicationComponent |
clone() |
boolean |
equals(Object obj) |
String |
getComponentName()
The name of the component.
|
Boolean |
getMonitor()
Indicates whether the application component is monitored.
|
String |
getResourceType()
The resource type.
|
String |
getTier()
The stack tier of the application component.
|
int |
hashCode() |
Boolean |
isMonitor()
Indicates whether the application component is monitored.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentName(String componentName)
The name of the component.
|
void |
setMonitor(Boolean monitor)
Indicates whether the application component is monitored.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setTier(String tier)
The stack tier of the application component.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationComponent |
withComponentName(String componentName)
The name of the component.
|
ApplicationComponent |
withMonitor(Boolean monitor)
Indicates whether the application component is monitored.
|
ApplicationComponent |
withResourceType(String resourceType)
The resource type.
|
ApplicationComponent |
withTier(String tier)
The stack tier of the application component.
|
ApplicationComponent |
withTier(Tier tier)
The stack tier of the application component.
|
public void setComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public String getComponentName()
The name of the component.
public ApplicationComponent withComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public void setResourceType(String resourceType)
The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
resourceType
- The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB,
Application ELB, and SQS Queue.public String getResourceType()
The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
public ApplicationComponent withResourceType(String resourceType)
The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
resourceType
- The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB,
Application ELB, and SQS Queue.public void setTier(String tier)
The stack tier of the application component.
tier
- The stack tier of the application component.Tier
public String getTier()
The stack tier of the application component.
Tier
public ApplicationComponent withTier(String tier)
The stack tier of the application component.
tier
- The stack tier of the application component.Tier
public ApplicationComponent withTier(Tier tier)
The stack tier of the application component.
tier
- The stack tier of the application component.Tier
public void setMonitor(Boolean monitor)
Indicates whether the application component is monitored.
monitor
- Indicates whether the application component is monitored.public Boolean getMonitor()
Indicates whether the application component is monitored.
public ApplicationComponent withMonitor(Boolean monitor)
Indicates whether the application component is monitored.
monitor
- Indicates whether the application component is monitored.public Boolean isMonitor()
Indicates whether the application component is monitored.
public String toString()
toString
in class Object
Object.toString()
public ApplicationComponent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.