@Generated(value="software.amazon.awssdk:codegen") public final class SampleChannelDataRequest extends IoTAnalyticsRequest implements ToCopyableBuilder<SampleChannelDataRequest.Builder,SampleChannelDataRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
SampleChannelDataRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SampleChannelDataRequest.Builder |
builder() |
String |
channelName()
The name of the channel whose message samples are retrieved.
|
Instant |
endTime()
The end of the time window from which sample messages are retrieved.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxMessages()
The number of sample messages to be retrieved.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SampleChannelDataRequest.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start of the time window from which sample messages are retrieved.
|
SampleChannelDataRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String channelName()
The name of the channel whose message samples are retrieved.
public Integer maxMessages()
The number of sample messages to be retrieved. The limit is 10, the default is also 10.
public Instant startTime()
The start of the time window from which sample messages are retrieved.
public Instant endTime()
The end of the time window from which sample messages are retrieved.
public SampleChannelDataRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SampleChannelDataRequest.Builder,SampleChannelDataRequest>
toBuilder
in class IoTAnalyticsRequest
public static SampleChannelDataRequest.Builder builder()
public static Class<? extends SampleChannelDataRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.