@Generated(value="software.amazon.awssdk:codegen") public final class JobSample extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobSample.Builder,JobSample>
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If
a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode
parameter and 20,000 for the size parameter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobSample.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobSample.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SampleMode |
mode()
A value that determines whether the profile job is run on the entire dataset or a specified number of rows.
|
String |
modeAsString()
A value that determines whether the profile job is run on the entire dataset or a specified number of rows.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobSample.Builder> |
serializableBuilderClass() |
Long |
size()
The
Size parameter is only required when the mode is CUSTOM_ROWS. |
JobSample.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SampleMode mode()
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
FULL_DATASET - The profile job is run on the entire dataset.
CUSTOM_ROWS - The profile job is run on the number of rows specified in the Size parameter.
If the service returns an enum value that is not available in the current SDK version, mode will return
SampleMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
FULL_DATASET - The profile job is run on the entire dataset.
CUSTOM_ROWS - The profile job is run on the number of rows specified in the Size parameter.
SampleModepublic final String modeAsString()
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
FULL_DATASET - The profile job is run on the entire dataset.
CUSTOM_ROWS - The profile job is run on the number of rows specified in the Size parameter.
If the service returns an enum value that is not available in the current SDK version, mode will return
SampleMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
FULL_DATASET - The profile job is run on the entire dataset.
CUSTOM_ROWS - The profile job is run on the number of rows specified in the Size parameter.
SampleModepublic final Long size()
The Size parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the
specified number of rows. The maximum value for size is Long.MAX_VALUE.
Long.MAX_VALUE = 9223372036854775807
Size parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on
the specified number of rows. The maximum value for size is Long.MAX_VALUE.
Long.MAX_VALUE = 9223372036854775807
public JobSample.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobSample.Builder,JobSample>public static JobSample.Builder builder()
public static Class<? extends JobSample.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.