@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkloadDiscoveryConfig extends Object implements Serializable, Cloneable, StructuredPojo
Discovery configuration associated to the workload.
| Constructor and Description |
|---|
WorkloadDiscoveryConfig() |
| Modifier and Type | Method and Description |
|---|---|
WorkloadDiscoveryConfig |
clone() |
boolean |
equals(Object obj) |
String |
getTrustedAdvisorIntegrationStatus()
Discovery integration status in respect to Trusted Advisor for the workload.
|
List<String> |
getWorkloadResourceDefinition()
The mode to use for identifying resources associated with the workload.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTrustedAdvisorIntegrationStatus(String trustedAdvisorIntegrationStatus)
Discovery integration status in respect to Trusted Advisor for the workload.
|
void |
setWorkloadResourceDefinition(Collection<String> workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
|
String |
toString()
Returns a string representation of this object.
|
WorkloadDiscoveryConfig |
withTrustedAdvisorIntegrationStatus(String trustedAdvisorIntegrationStatus)
Discovery integration status in respect to Trusted Advisor for the workload.
|
WorkloadDiscoveryConfig |
withTrustedAdvisorIntegrationStatus(TrustedAdvisorIntegrationStatus trustedAdvisorIntegrationStatus)
Discovery integration status in respect to Trusted Advisor for the workload.
|
WorkloadDiscoveryConfig |
withWorkloadResourceDefinition(Collection<String> workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
|
WorkloadDiscoveryConfig |
withWorkloadResourceDefinition(DefinitionType... workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
|
WorkloadDiscoveryConfig |
withWorkloadResourceDefinition(String... workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
|
public void setTrustedAdvisorIntegrationStatus(String trustedAdvisorIntegrationStatus)
Discovery integration status in respect to Trusted Advisor for the workload.
trustedAdvisorIntegrationStatus - Discovery integration status in respect to Trusted Advisor for the workload.TrustedAdvisorIntegrationStatuspublic String getTrustedAdvisorIntegrationStatus()
Discovery integration status in respect to Trusted Advisor for the workload.
TrustedAdvisorIntegrationStatuspublic WorkloadDiscoveryConfig withTrustedAdvisorIntegrationStatus(String trustedAdvisorIntegrationStatus)
Discovery integration status in respect to Trusted Advisor for the workload.
trustedAdvisorIntegrationStatus - Discovery integration status in respect to Trusted Advisor for the workload.TrustedAdvisorIntegrationStatuspublic WorkloadDiscoveryConfig withTrustedAdvisorIntegrationStatus(TrustedAdvisorIntegrationStatus trustedAdvisorIntegrationStatus)
Discovery integration status in respect to Trusted Advisor for the workload.
trustedAdvisorIntegrationStatus - Discovery integration status in respect to Trusted Advisor for the workload.TrustedAdvisorIntegrationStatuspublic List<String> getWorkloadResourceDefinition()
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
DefinitionTypepublic void setWorkloadResourceDefinition(Collection<String> workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
workloadResourceDefinition - The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
DefinitionTypepublic WorkloadDiscoveryConfig withWorkloadResourceDefinition(String... workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
NOTE: This method appends the values to the existing list (if any). Use
setWorkloadResourceDefinition(java.util.Collection) or
withWorkloadResourceDefinition(java.util.Collection) if you want to override the existing values.
workloadResourceDefinition - The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
DefinitionTypepublic WorkloadDiscoveryConfig withWorkloadResourceDefinition(Collection<String> workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
workloadResourceDefinition - The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
DefinitionTypepublic WorkloadDiscoveryConfig withWorkloadResourceDefinition(DefinitionType... workloadResourceDefinition)
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
workloadResourceDefinition - The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
DefinitionTypepublic String toString()
toString in class ObjectObject.toString()public WorkloadDiscoveryConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.