Class LinkConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.oam.model.LinkConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LinkConfiguration.Builder,LinkConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class LinkConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LinkConfiguration.Builder,LinkConfiguration>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLinkConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LogGroupConfigurationlogGroupConfiguration()Use this structure to filter which log groups are to send log events from the source account to the monitoring account.MetricConfigurationmetricConfiguration()Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LinkConfiguration.Builder>serializableBuilderClass()LinkConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logGroupConfiguration
public final LogGroupConfiguration logGroupConfiguration()
Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
- Returns:
- Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
-
metricConfiguration
public final MetricConfiguration metricConfiguration()
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
- Returns:
- Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
-
toBuilder
public LinkConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LinkConfiguration.Builder,LinkConfiguration>
-
builder
public static LinkConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LinkConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-