@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSampleDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetSampleDataResult() |
| Modifier and Type | Method and Description |
|---|---|
GetSampleDataResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getHeaderValues()
A list of header labels for the records.
|
List<List<String>> |
getSampleRows()
A list of records.
|
int |
hashCode() |
void |
setHeaderValues(Collection<String> headerValues)
A list of header labels for the records.
|
void |
setSampleRows(Collection<List<String>> sampleRows)
A list of records.
|
String |
toString()
Returns a string representation of this object.
|
GetSampleDataResult |
withHeaderValues(Collection<String> headerValues)
A list of header labels for the records.
|
GetSampleDataResult |
withHeaderValues(String... headerValues)
A list of header labels for the records.
|
GetSampleDataResult |
withSampleRows(Collection<List<String>> sampleRows)
A list of records.
|
GetSampleDataResult |
withSampleRows(List<String>... sampleRows)
A list of records.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getHeaderValues()
A list of header labels for the records.
public void setHeaderValues(Collection<String> headerValues)
A list of header labels for the records.
headerValues - A list of header labels for the records.public GetSampleDataResult withHeaderValues(String... headerValues)
A list of header labels for the records.
NOTE: This method appends the values to the existing list (if any). Use
setHeaderValues(java.util.Collection) or withHeaderValues(java.util.Collection) if you want to
override the existing values.
headerValues - A list of header labels for the records.public GetSampleDataResult withHeaderValues(Collection<String> headerValues)
A list of header labels for the records.
headerValues - A list of header labels for the records.public List<List<String>> getSampleRows()
A list of records.
public void setSampleRows(Collection<List<String>> sampleRows)
A list of records.
sampleRows - A list of records.public GetSampleDataResult withSampleRows(List<String>... sampleRows)
A list of records.
NOTE: This method appends the values to the existing list (if any). Use
setSampleRows(java.util.Collection) or withSampleRows(java.util.Collection) if you want to
override the existing values.
sampleRows - A list of records.public GetSampleDataResult withSampleRows(Collection<List<String>> sampleRows)
A list of records.
sampleRows - A list of records.public String toString()
toString in class ObjectObject.toString()public GetSampleDataResult clone()