@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSample extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
JobSample() |
| Modifier and Type | Method and Description |
|---|---|
JobSample |
clone() |
boolean |
equals(Object obj) |
String |
getMode()
A value that determines whether the profile job is run on the entire dataset or a specified number of rows.
|
Long |
getSize()
The
Size parameter is only required when the mode is CUSTOM_ROWS. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMode(String mode)
A value that determines whether the profile job is run on the entire dataset or a specified number of rows.
|
void |
setSize(Long size)
The
Size parameter is only required when the mode is CUSTOM_ROWS. |
String |
toString()
Returns a string representation of this object.
|
JobSample |
withMode(SampleMode mode)
A value that determines whether the profile job is run on the entire dataset or a specified number of rows.
|
JobSample |
withMode(String mode)
A value that determines whether the profile job is run on the entire dataset or a specified number of rows.
|
JobSample |
withSize(Long size)
The
Size parameter is only required when the mode is CUSTOM_ROWS. |
public void setMode(String 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.
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.
SampleModepublic String getMode()
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.
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 JobSample withMode(String 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.
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.
SampleModepublic JobSample withMode(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.
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.
SampleModepublic void setSize(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 - 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
public Long getSize()
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 withSize(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 - 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
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.