@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricSource extends Object implements Serializable, Cloneable, StructuredPojo
The list of metric sources required to generate recommendations for commercial software licenses.
| Constructor and Description | 
|---|
| MetricSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| MetricSource | clone() | 
| boolean | equals(Object obj) | 
| String | getProvider()
 The name of the metric source provider. | 
| String | getProviderArn()
 The ARN of the metric source provider. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setProvider(String provider)
 The name of the metric source provider. | 
| void | setProviderArn(String providerArn)
 The ARN of the metric source provider. | 
| String | toString()Returns a string representation of this object. | 
| MetricSource | withProvider(MetricSourceProvider provider)
 The name of the metric source provider. | 
| MetricSource | withProvider(String provider)
 The name of the metric source provider. | 
| MetricSource | withProviderArn(String providerArn)
 The ARN of the metric source provider. | 
public void setProvider(String provider)
The name of the metric source provider.
provider - The name of the metric source provider.MetricSourceProviderpublic String getProvider()
The name of the metric source provider.
MetricSourceProviderpublic MetricSource withProvider(String provider)
The name of the metric source provider.
provider - The name of the metric source provider.MetricSourceProviderpublic MetricSource withProvider(MetricSourceProvider provider)
The name of the metric source provider.
provider - The name of the metric source provider.MetricSourceProviderpublic void setProviderArn(String providerArn)
The ARN of the metric source provider.
providerArn - The ARN of the metric source provider.public String getProviderArn()
The ARN of the metric source provider.
public MetricSource withProviderArn(String providerArn)
The ARN of the metric source provider.
providerArn - The ARN of the metric source provider.public String toString()
toString in class ObjectObject.toString()public MetricSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.