@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricSource extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about source data used to generate a metric.
Constructor and Description |
---|
MetricSource() |
Modifier and Type | Method and Description |
---|---|
MetricSource |
clone() |
boolean |
equals(Object obj) |
AppFlowConfig |
getAppFlowConfig()
An object containing information about the AppFlow configuration.
|
CloudWatchConfig |
getCloudWatchConfig()
An object containing information about the Amazon CloudWatch monitoring configuration.
|
RDSSourceConfig |
getRDSSourceConfig()
An object containing information about the Amazon Relational Database Service (RDS) configuration.
|
RedshiftSourceConfig |
getRedshiftSourceConfig()
An object containing information about the Amazon Redshift database configuration.
|
S3SourceConfig |
getS3SourceConfig() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppFlowConfig(AppFlowConfig appFlowConfig)
An object containing information about the AppFlow configuration.
|
void |
setCloudWatchConfig(CloudWatchConfig cloudWatchConfig)
An object containing information about the Amazon CloudWatch monitoring configuration.
|
void |
setRDSSourceConfig(RDSSourceConfig rDSSourceConfig)
An object containing information about the Amazon Relational Database Service (RDS) configuration.
|
void |
setRedshiftSourceConfig(RedshiftSourceConfig redshiftSourceConfig)
An object containing information about the Amazon Redshift database configuration.
|
void |
setS3SourceConfig(S3SourceConfig s3SourceConfig) |
String |
toString()
Returns a string representation of this object.
|
MetricSource |
withAppFlowConfig(AppFlowConfig appFlowConfig)
An object containing information about the AppFlow configuration.
|
MetricSource |
withCloudWatchConfig(CloudWatchConfig cloudWatchConfig)
An object containing information about the Amazon CloudWatch monitoring configuration.
|
MetricSource |
withRDSSourceConfig(RDSSourceConfig rDSSourceConfig)
An object containing information about the Amazon Relational Database Service (RDS) configuration.
|
MetricSource |
withRedshiftSourceConfig(RedshiftSourceConfig redshiftSourceConfig)
An object containing information about the Amazon Redshift database configuration.
|
MetricSource |
withS3SourceConfig(S3SourceConfig s3SourceConfig) |
public void setS3SourceConfig(S3SourceConfig s3SourceConfig)
s3SourceConfig
- public S3SourceConfig getS3SourceConfig()
public MetricSource withS3SourceConfig(S3SourceConfig s3SourceConfig)
s3SourceConfig
- public void setAppFlowConfig(AppFlowConfig appFlowConfig)
An object containing information about the AppFlow configuration.
appFlowConfig
- An object containing information about the AppFlow configuration.public AppFlowConfig getAppFlowConfig()
An object containing information about the AppFlow configuration.
public MetricSource withAppFlowConfig(AppFlowConfig appFlowConfig)
An object containing information about the AppFlow configuration.
appFlowConfig
- An object containing information about the AppFlow configuration.public void setCloudWatchConfig(CloudWatchConfig cloudWatchConfig)
An object containing information about the Amazon CloudWatch monitoring configuration.
cloudWatchConfig
- An object containing information about the Amazon CloudWatch monitoring configuration.public CloudWatchConfig getCloudWatchConfig()
An object containing information about the Amazon CloudWatch monitoring configuration.
public MetricSource withCloudWatchConfig(CloudWatchConfig cloudWatchConfig)
An object containing information about the Amazon CloudWatch monitoring configuration.
cloudWatchConfig
- An object containing information about the Amazon CloudWatch monitoring configuration.public void setRDSSourceConfig(RDSSourceConfig rDSSourceConfig)
An object containing information about the Amazon Relational Database Service (RDS) configuration.
rDSSourceConfig
- An object containing information about the Amazon Relational Database Service (RDS) configuration.public RDSSourceConfig getRDSSourceConfig()
An object containing information about the Amazon Relational Database Service (RDS) configuration.
public MetricSource withRDSSourceConfig(RDSSourceConfig rDSSourceConfig)
An object containing information about the Amazon Relational Database Service (RDS) configuration.
rDSSourceConfig
- An object containing information about the Amazon Relational Database Service (RDS) configuration.public void setRedshiftSourceConfig(RedshiftSourceConfig redshiftSourceConfig)
An object containing information about the Amazon Redshift database configuration.
redshiftSourceConfig
- An object containing information about the Amazon Redshift database configuration.public RedshiftSourceConfig getRedshiftSourceConfig()
An object containing information about the Amazon Redshift database configuration.
public MetricSource withRedshiftSourceConfig(RedshiftSourceConfig redshiftSourceConfig)
An object containing information about the Amazon Redshift database configuration.
redshiftSourceConfig
- An object containing information about the Amazon Redshift database configuration.public String toString()
toString
in class Object
Object.toString()
public MetricSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.