Class JobSample
- java.lang.Object
-
- software.amazon.awssdk.services.databrew.model.JobSample
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobSample.Builder,JobSample>
@Generated("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
JobSamplevalue isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobSample.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobSample.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SampleModemode()A value that determines whether the profile job is run on the entire dataset or a specified number of rows.StringmodeAsString()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()Longsize()TheSizeparameter is only required when the mode is CUSTOM_ROWS.JobSample.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
-
mode
public 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
Sizeparameter.
If the service returns an enum value that is not available in the current SDK version,
modewill returnSampleMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- 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
Sizeparameter.
-
- See Also:
SampleMode
-
-
modeAsString
public 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
Sizeparameter.
If the service returns an enum value that is not available in the current SDK version,
modewill returnSampleMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- 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
Sizeparameter.
-
- See Also:
SampleMode
-
-
size
public final Long size()
The
Sizeparameter 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
- Returns:
- The
Sizeparameter 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
-
toBuilder
public JobSample.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobSample.Builder,JobSample>
-
builder
public static JobSample.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobSample.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.
-
-