@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArchivesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListArchivesRequest() |
Modifier and Type | Method and Description |
---|---|
ListArchivesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventSourceArn()
The ARN of the event source associated with the archive.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNamePrefix()
A name prefix to filter the archives returned.
|
String |
getNextToken()
The token returned by a previous call to retrieve the next set of results.
|
String |
getState()
The state of the archive.
|
int |
hashCode() |
void |
setEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNamePrefix(String namePrefix)
A name prefix to filter the archives returned.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
void |
setState(String state)
The state of the archive.
|
String |
toString()
Returns a string representation of this object.
|
ListArchivesRequest |
withEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
|
ListArchivesRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
ListArchivesRequest |
withNamePrefix(String namePrefix)
A name prefix to filter the archives returned.
|
ListArchivesRequest |
withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
ListArchivesRequest |
withState(ArchiveState state)
The state of the archive.
|
ListArchivesRequest |
withState(String state)
The state of the archive.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNamePrefix(String namePrefix)
A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.
namePrefix
- A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.public String getNamePrefix()
A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.
public ListArchivesRequest withNamePrefix(String namePrefix)
A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.
namePrefix
- A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.public void setEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
eventSourceArn
- The ARN of the event source associated with the archive.public String getEventSourceArn()
The ARN of the event source associated with the archive.
public ListArchivesRequest withEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
eventSourceArn
- The ARN of the event source associated with the archive.public void setState(String state)
The state of the archive.
state
- The state of the archive.ArchiveState
public String getState()
The state of the archive.
ArchiveState
public ListArchivesRequest withState(String state)
The state of the archive.
state
- The state of the archive.ArchiveState
public ListArchivesRequest withState(ArchiveState state)
The state of the archive.
state
- The state of the archive.ArchiveState
public void setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.public String getNextToken()
The token returned by a previous call to retrieve the next set of results.
public ListArchivesRequest withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.public void setLimit(Integer limit)
The maximum number of results to return.
limit
- The maximum number of results to return.public Integer getLimit()
The maximum number of results to return.
public ListArchivesRequest withLimit(Integer limit)
The maximum number of results to return.
limit
- The maximum number of results to return.public String toString()
toString
in class Object
Object.toString()
public ListArchivesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()