@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LinkConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
Constructor and Description |
---|
LinkConfiguration() |
Modifier and Type | Method and Description |
---|---|
LinkConfiguration |
clone() |
boolean |
equals(Object obj) |
LogGroupConfiguration |
getLogGroupConfiguration()
Use this structure to filter which log groups are to send log events from the source account to the monitoring
account.
|
MetricConfiguration |
getMetricConfiguration()
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring
account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogGroupConfiguration(LogGroupConfiguration logGroupConfiguration)
Use this structure to filter which log groups are to send log events from the source account to the monitoring
account.
|
void |
setMetricConfiguration(MetricConfiguration metricConfiguration)
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring
account.
|
String |
toString()
Returns a string representation of this object.
|
LinkConfiguration |
withLogGroupConfiguration(LogGroupConfiguration logGroupConfiguration)
Use this structure to filter which log groups are to send log events from the source account to the monitoring
account.
|
LinkConfiguration |
withMetricConfiguration(MetricConfiguration metricConfiguration)
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring
account.
|
public void setLogGroupConfiguration(LogGroupConfiguration logGroupConfiguration)
Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
logGroupConfiguration
- Use this structure to filter which log groups are to send log events from the source account to the
monitoring account.public LogGroupConfiguration getLogGroupConfiguration()
Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
public LinkConfiguration withLogGroupConfiguration(LogGroupConfiguration logGroupConfiguration)
Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
logGroupConfiguration
- Use this structure to filter which log groups are to send log events from the source account to the
monitoring account.public void setMetricConfiguration(MetricConfiguration metricConfiguration)
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
metricConfiguration
- Use this structure to filter which metric namespaces are to be shared from the source account to the
monitoring account.public MetricConfiguration getMetricConfiguration()
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
public LinkConfiguration withMetricConfiguration(MetricConfiguration metricConfiguration)
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
metricConfiguration
- Use this structure to filter which metric namespaces are to be shared from the source account to the
monitoring account.public String toString()
toString
in class Object
Object.toString()
public LinkConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.