@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workload extends Object implements Serializable, Cloneable, StructuredPojo
Describes the workloads on a component.
Constructor and Description |
---|
Workload() |
Modifier and Type | Method and Description |
---|---|
Workload |
clone() |
boolean |
equals(Object obj) |
String |
getComponentName()
The name of the component.
|
String |
getTier()
The tier of the workload.
|
String |
getWorkloadId()
The ID of the workload.
|
String |
getWorkloadName()
The name of the workload.
|
String |
getWorkloadRemarks()
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentName(String componentName)
The name of the component.
|
void |
setTier(String tier)
The tier of the workload.
|
void |
setWorkloadId(String workloadId)
The ID of the workload.
|
void |
setWorkloadName(String workloadName)
The name of the workload.
|
void |
setWorkloadRemarks(String workloadRemarks)
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
|
String |
toString()
Returns a string representation of this object.
|
Workload |
withComponentName(String componentName)
The name of the component.
|
Workload |
withTier(String tier)
The tier of the workload.
|
Workload |
withTier(Tier tier)
The tier of the workload.
|
Workload |
withWorkloadId(String workloadId)
The ID of the workload.
|
Workload |
withWorkloadName(String workloadName)
The name of the workload.
|
Workload |
withWorkloadRemarks(String workloadRemarks)
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
|
public void setWorkloadId(String workloadId)
The ID of the workload.
workloadId
- The ID of the workload.public String getWorkloadId()
The ID of the workload.
public Workload withWorkloadId(String workloadId)
The ID of the workload.
workloadId
- The ID of the workload.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 Workload withComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public void setWorkloadName(String workloadName)
The name of the workload.
workloadName
- The name of the workload.public String getWorkloadName()
The name of the workload.
public Workload withWorkloadName(String workloadName)
The name of the workload.
workloadName
- The name of the workload.public void setTier(String tier)
The tier of the workload.
tier
- The tier of the workload.Tier
public String getTier()
The tier of the workload.
Tier
public Workload withTier(String tier)
The tier of the workload.
tier
- The tier of the workload.Tier
public Workload withTier(Tier tier)
The tier of the workload.
tier
- The tier of the workload.Tier
public void setWorkloadRemarks(String workloadRemarks)
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
workloadRemarks
- If logging is supported for the resource type, shows whether the component has configured logs to be
monitored.public String getWorkloadRemarks()
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
public Workload withWorkloadRemarks(String workloadRemarks)
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
workloadRemarks
- If logging is supported for the resource type, shows whether the component has configured logs to be
monitored.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.