@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.SampleType
public String getType()
The way in which DataBrew obtains rows from a dataset.
SampleType
public 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.SampleType
public 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.SampleType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.