@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 |
addDetectedWorkloadEntry(String key,
Map<String,String> value)
Add a single DetectedWorkload entry
|
ApplicationComponent |
clearDetectedWorkloadEntries()
Removes all the entries added into DetectedWorkload.
|
ApplicationComponent |
clone() |
boolean |
equals(Object obj) |
String |
getComponentName()
The name of the component.
|
String |
getComponentRemarks()
If logging is supported for the resource type, indicates whether the component has configured logs to be
monitored.
|
Map<String,Map<String,String>> |
getDetectedWorkload()
Workloads detected in the application component.
|
Boolean |
getMonitor()
Indicates whether the application component is monitored.
|
String |
getOsType()
The operating system of the component.
|
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 |
setComponentRemarks(String componentRemarks)
If logging is supported for the resource type, indicates whether the component has configured logs to be
monitored.
|
void |
setDetectedWorkload(Map<String,Map<String,String>> detectedWorkload)
Workloads detected in the application component.
|
void |
setMonitor(Boolean monitor)
Indicates whether the application component is monitored.
|
void |
setOsType(String osType)
The operating system of the component.
|
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 |
withComponentRemarks(String componentRemarks)
If logging is supported for the resource type, indicates whether the component has configured logs to be
monitored.
|
ApplicationComponent |
withDetectedWorkload(Map<String,Map<String,String>> detectedWorkload)
Workloads detected in the application component.
|
ApplicationComponent |
withMonitor(Boolean monitor)
Indicates whether the application component is monitored.
|
ApplicationComponent |
withOsType(OsType osType)
The operating system of the component.
|
ApplicationComponent |
withOsType(String osType)
The operating system of the component.
|
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 setComponentRemarks(String componentRemarks)
If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.
componentRemarks
- If logging is supported for the resource type, indicates whether the component has configured logs to be
monitored.public String getComponentRemarks()
If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.
public ApplicationComponent withComponentRemarks(String componentRemarks)
If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.
componentRemarks
- If logging is supported for the resource type, indicates whether the component has configured logs to be
monitored.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 setOsType(String osType)
The operating system of the component.
osType
- The operating system of the component.OsType
public String getOsType()
The operating system of the component.
OsType
public ApplicationComponent withOsType(String osType)
The operating system of the component.
osType
- The operating system of the component.OsType
public ApplicationComponent withOsType(OsType osType)
The operating system of the component.
osType
- The operating system of the component.OsType
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 Map<String,Map<String,String>> getDetectedWorkload()
Workloads detected in the application component.
public void setDetectedWorkload(Map<String,Map<String,String>> detectedWorkload)
Workloads detected in the application component.
detectedWorkload
- Workloads detected in the application component.public ApplicationComponent withDetectedWorkload(Map<String,Map<String,String>> detectedWorkload)
Workloads detected in the application component.
detectedWorkload
- Workloads detected in the application component.public ApplicationComponent addDetectedWorkloadEntry(String key, Map<String,String> value)
public ApplicationComponent clearDetectedWorkloadEntries()
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.