@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJournalKinesisStreamsForLedgerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListJournalKinesisStreamsForLedgerResult() |
Modifier and Type | Method and Description |
---|---|
ListJournalKinesisStreamsForLedgerResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
|
List<JournalKinesisStreamDescription> |
getStreams()
The array of QLDB journal stream descriptors that are associated with the given ledger.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
|
void |
setStreams(Collection<JournalKinesisStreamDescription> streams)
The array of QLDB journal stream descriptors that are associated with the given ledger.
|
String |
toString()
Returns a string representation of this object.
|
ListJournalKinesisStreamsForLedgerResult |
withNextToken(String nextToken)
|
ListJournalKinesisStreamsForLedgerResult |
withStreams(Collection<JournalKinesisStreamDescription> streams)
The array of QLDB journal stream descriptors that are associated with the given ledger.
|
ListJournalKinesisStreamsForLedgerResult |
withStreams(JournalKinesisStreamDescription... streams)
The array of QLDB journal stream descriptors that are associated with the given ledger.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListJournalKinesisStreamsForLedgerResult()
public List<JournalKinesisStreamDescription> getStreams()
The array of QLDB journal stream descriptors that are associated with the given ledger.
public void setStreams(Collection<JournalKinesisStreamDescription> streams)
The array of QLDB journal stream descriptors that are associated with the given ledger.
streams
- The array of QLDB journal stream descriptors that are associated with the given ledger.public ListJournalKinesisStreamsForLedgerResult withStreams(JournalKinesisStreamDescription... streams)
The array of QLDB journal stream descriptors that are associated with the given ledger.
NOTE: This method appends the values to the existing list (if any). Use
setStreams(java.util.Collection)
or withStreams(java.util.Collection)
if you want to override
the existing values.
streams
- The array of QLDB journal stream descriptors that are associated with the given ledger.public ListJournalKinesisStreamsForLedgerResult withStreams(Collection<JournalKinesisStreamDescription> streams)
The array of QLDB journal stream descriptors that are associated with the given ledger.
streams
- The array of QLDB journal stream descriptors that are associated with the given ledger.public void setNextToken(String nextToken)
If NextToken
is empty, the last page of results has been processed and there are no more results to
be retrieved.
If NextToken
is not empty, more results are available. To retrieve the next page of results,
use the value of NextToken
in a subsequent ListJournalKinesisStreamsForLedger
call.
nextToken
-
If NextToken
is empty, the last page of results has been processed and there are no more
results to be retrieved.
If NextToken
is not empty, more results are available. To retrieve the next page of
results, use the value of NextToken
in a subsequent
ListJournalKinesisStreamsForLedger
call.
public String getNextToken()
If NextToken
is empty, the last page of results has been processed and there are no more results to
be retrieved.
If NextToken
is not empty, more results are available. To retrieve the next page of results,
use the value of NextToken
in a subsequent ListJournalKinesisStreamsForLedger
call.
If NextToken
is empty, the last page of results has been processed and there are no more
results to be retrieved.
If NextToken
is not empty, more results are available. To retrieve the next page of
results, use the value of NextToken
in a subsequent
ListJournalKinesisStreamsForLedger
call.
public ListJournalKinesisStreamsForLedgerResult withNextToken(String nextToken)
If NextToken
is empty, the last page of results has been processed and there are no more results to
be retrieved.
If NextToken
is not empty, more results are available. To retrieve the next page of results,
use the value of NextToken
in a subsequent ListJournalKinesisStreamsForLedger
call.
nextToken
-
If NextToken
is empty, the last page of results has been processed and there are no more
results to be retrieved.
If NextToken
is not empty, more results are available. To retrieve the next page of
results, use the value of NextToken
in a subsequent
ListJournalKinesisStreamsForLedger
call.
public String toString()
toString
in class Object
Object.toString()
public ListJournalKinesisStreamsForLedgerResult clone()