@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Sample extends Object implements Serializable, Cloneable, StructuredPojo
Represents the sample size and sampling type for DataBrew to use for interactive data analysis.
| Constructor and Description |
|---|
Sample() |
| Modifier and Type | Method and Description |
|---|---|
Sample |
clone() |
boolean |
equals(Object obj) |
Integer |
getSize()
The number of rows in the sample.
|
String |
getType()
The way in which DataBrew obtains rows from a dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSize(Integer size)
The number of rows in the sample.
|
void |
setType(String type)
The way in which DataBrew obtains rows from a dataset.
|
String |
toString()
Returns a string representation of this object.
|
Sample |
withSize(Integer size)
The number of rows in the sample.
|
Sample |
withType(SampleType type)
The way in which DataBrew obtains rows from a dataset.
|
Sample |
withType(String type)
The way in which DataBrew obtains rows from a dataset.
|
public void setSize(Integer size)
The number of rows in the sample.
size - The number of rows in the sample.public Integer getSize()
The number of rows in the sample.
public Sample withSize(Integer size)
The number of rows in the sample.
size - The number of rows in the sample.public void setType(String type)
The way in which DataBrew obtains rows from a dataset.
type - The way in which DataBrew obtains rows from a dataset.SampleTypepublic String getType()
The way in which DataBrew obtains rows from a dataset.
SampleTypepublic Sample withType(String type)
The way in which DataBrew obtains rows from a dataset.
type - The way in which DataBrew obtains rows from a dataset.SampleTypepublic Sample withType(SampleType type)
The way in which DataBrew obtains rows from a dataset.
type - The way in which DataBrew obtains rows from a dataset.SampleTypepublic 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.