@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLogSubscriptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListLogSubscriptionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListLogSubscriptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
If a DirectoryID is provided, lists only the log subscription associated with that directory.
|
Integer |
getLimit()
The maximum number of items returned.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
If a DirectoryID is provided, lists only the log subscription associated with that directory.
|
void |
setLimit(Integer limit)
The maximum number of items returned.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
ListLogSubscriptionsRequest |
withDirectoryId(String directoryId)
If a DirectoryID is provided, lists only the log subscription associated with that directory.
|
ListLogSubscriptionsRequest |
withLimit(Integer limit)
The maximum number of items returned.
|
ListLogSubscriptionsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
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 setDirectoryId(String directoryId)
If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
directoryId
- If a DirectoryID is provided, lists only the log subscription associated with that directory. If no
DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services
account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty
list will be returned.public String getDirectoryId()
If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
public ListLogSubscriptionsRequest withDirectoryId(String directoryId)
If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
directoryId
- If a DirectoryID is provided, lists only the log subscription associated with that directory. If no
DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services
account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty
list will be returned.public void setNextToken(String nextToken)
The token for the next set of items to return.
nextToken
- The token for the next set of items to return.public String getNextToken()
The token for the next set of items to return.
public ListLogSubscriptionsRequest withNextToken(String nextToken)
The token for the next set of items to return.
nextToken
- The token for the next set of items to return.public void setLimit(Integer limit)
The maximum number of items returned.
limit
- The maximum number of items returned.public Integer getLimit()
The maximum number of items returned.
public ListLogSubscriptionsRequest withLimit(Integer limit)
The maximum number of items returned.
limit
- The maximum number of items returned.public String toString()
toString
in class Object
Object.toString()
public ListLogSubscriptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()