@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.TrustedAdvisorIntegrationStatus
public String getTrustedAdvisorIntegrationStatus()
Discovery integration status in respect to Trusted Advisor for the workload.
TrustedAdvisorIntegrationStatus
public 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.TrustedAdvisorIntegrationStatus
public 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.TrustedAdvisorIntegrationStatus
public 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.
DefinitionType
public 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.
DefinitionType
public 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.
DefinitionType
public 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.
DefinitionType
public 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.
DefinitionType
public String toString()
toString
in class Object
Object.toString()
public WorkloadDiscoveryConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.