@Generated(value="software.amazon.awssdk:codegen") public final class CollectionScheme extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CollectionScheme.Builder,CollectionScheme>
Specifies what data to collect and how often or when to collect it.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CollectionScheme.Builder |
static class |
CollectionScheme.Type |
| Modifier and Type | Method and Description |
|---|---|
static CollectionScheme.Builder |
builder() |
ConditionBasedCollectionScheme |
conditionBasedCollectionScheme()
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static CollectionScheme |
fromConditionBasedCollectionScheme(ConditionBasedCollectionScheme conditionBasedCollectionScheme)
Create an instance of this class with
conditionBasedCollectionScheme() initialized to the given value. |
static CollectionScheme |
fromConditionBasedCollectionScheme(Consumer<ConditionBasedCollectionScheme.Builder> conditionBasedCollectionScheme)
Create an instance of this class with
conditionBasedCollectionScheme() initialized to the given value. |
static CollectionScheme |
fromTimeBasedCollectionScheme(Consumer<TimeBasedCollectionScheme.Builder> timeBasedCollectionScheme)
Create an instance of this class with
timeBasedCollectionScheme() initialized to the given value. |
static CollectionScheme |
fromTimeBasedCollectionScheme(TimeBasedCollectionScheme timeBasedCollectionScheme)
Create an instance of this class with
timeBasedCollectionScheme() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CollectionScheme.Builder> |
serializableBuilderClass() |
TimeBasedCollectionScheme |
timeBasedCollectionScheme()
Information about a collection scheme that uses a time period to decide how often to collect data.
|
CollectionScheme.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CollectionScheme.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TimeBasedCollectionScheme timeBasedCollectionScheme()
Information about a collection scheme that uses a time period to decide how often to collect data.
public final ConditionBasedCollectionScheme conditionBasedCollectionScheme()
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
public CollectionScheme.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CollectionScheme.Builder,CollectionScheme>public static CollectionScheme.Builder builder()
public static Class<? extends CollectionScheme.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static CollectionScheme fromTimeBasedCollectionScheme(TimeBasedCollectionScheme timeBasedCollectionScheme)
timeBasedCollectionScheme() initialized to the given value.
Information about a collection scheme that uses a time period to decide how often to collect data.
timeBasedCollectionScheme - Information about a collection scheme that uses a time period to decide how often to collect data.public static CollectionScheme fromTimeBasedCollectionScheme(Consumer<TimeBasedCollectionScheme.Builder> timeBasedCollectionScheme)
timeBasedCollectionScheme() initialized to the given value.
Information about a collection scheme that uses a time period to decide how often to collect data.
timeBasedCollectionScheme - Information about a collection scheme that uses a time period to decide how often to collect data.public static CollectionScheme fromConditionBasedCollectionScheme(ConditionBasedCollectionScheme conditionBasedCollectionScheme)
conditionBasedCollectionScheme() initialized to the given value.
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
conditionBasedCollectionScheme - Information about a collection scheme that uses a simple logical expression to recognize what data to
collect.public static CollectionScheme fromConditionBasedCollectionScheme(Consumer<ConditionBasedCollectionScheme.Builder> conditionBasedCollectionScheme)
conditionBasedCollectionScheme() initialized to the given value.
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
conditionBasedCollectionScheme - Information about a collection scheme that uses a simple logical expression to recognize what data to
collect.public CollectionScheme.Type type()
CollectionScheme.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be CollectionScheme.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.