@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLogSourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListLogSourcesRequest() |
Modifier and Type | Method and Description |
---|---|
ListLogSourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccounts()
The list of Amazon Web Services accounts for which log sources are displayed.
|
Integer |
getMaxResults()
The maximum number of accounts for which the log sources are displayed.
|
String |
getNextToken()
If nextToken is returned, there are more results available.
|
List<String> |
getRegions()
The list of Regions for which log sources are displayed.
|
List<LogSourceResource> |
getSources()
The list of sources for which log sources are displayed.
|
int |
hashCode() |
void |
setAccounts(Collection<String> accounts)
The list of Amazon Web Services accounts for which log sources are displayed.
|
void |
setMaxResults(Integer maxResults)
The maximum number of accounts for which the log sources are displayed.
|
void |
setNextToken(String nextToken)
If nextToken is returned, there are more results available.
|
void |
setRegions(Collection<String> regions)
The list of Regions for which log sources are displayed.
|
void |
setSources(Collection<LogSourceResource> sources)
The list of sources for which log sources are displayed.
|
String |
toString()
Returns a string representation of this object.
|
ListLogSourcesRequest |
withAccounts(Collection<String> accounts)
The list of Amazon Web Services accounts for which log sources are displayed.
|
ListLogSourcesRequest |
withAccounts(String... accounts)
The list of Amazon Web Services accounts for which log sources are displayed.
|
ListLogSourcesRequest |
withMaxResults(Integer maxResults)
The maximum number of accounts for which the log sources are displayed.
|
ListLogSourcesRequest |
withNextToken(String nextToken)
If nextToken is returned, there are more results available.
|
ListLogSourcesRequest |
withRegions(Collection<String> regions)
The list of Regions for which log sources are displayed.
|
ListLogSourcesRequest |
withRegions(String... regions)
The list of Regions for which log sources are displayed.
|
ListLogSourcesRequest |
withSources(Collection<LogSourceResource> sources)
The list of sources for which log sources are displayed.
|
ListLogSourcesRequest |
withSources(LogSourceResource... sources)
The list of sources for which log sources are displayed.
|
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 List<String> getAccounts()
The list of Amazon Web Services accounts for which log sources are displayed.
public void setAccounts(Collection<String> accounts)
The list of Amazon Web Services accounts for which log sources are displayed.
accounts
- The list of Amazon Web Services accounts for which log sources are displayed.public ListLogSourcesRequest withAccounts(String... accounts)
The list of Amazon Web Services accounts for which log sources are displayed.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection)
or withAccounts(java.util.Collection)
if you want to override
the existing values.
accounts
- The list of Amazon Web Services accounts for which log sources are displayed.public ListLogSourcesRequest withAccounts(Collection<String> accounts)
The list of Amazon Web Services accounts for which log sources are displayed.
accounts
- The list of Amazon Web Services accounts for which log sources are displayed.public void setMaxResults(Integer maxResults)
The maximum number of accounts for which the log sources are displayed.
maxResults
- The maximum number of accounts for which the log sources are displayed.public Integer getMaxResults()
The maximum number of accounts for which the log sources are displayed.
public ListLogSourcesRequest withMaxResults(Integer maxResults)
The maximum number of accounts for which the log sources are displayed.
maxResults
- The maximum number of accounts for which the log sources are displayed.public void setNextToken(String nextToken)
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
nextToken
- If nextToken is returned, there are more results available. You can repeat the call using the returned
token to retrieve the next page.public String getNextToken()
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
public ListLogSourcesRequest withNextToken(String nextToken)
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
nextToken
- If nextToken is returned, there are more results available. You can repeat the call using the returned
token to retrieve the next page.public List<String> getRegions()
The list of Regions for which log sources are displayed.
public void setRegions(Collection<String> regions)
The list of Regions for which log sources are displayed.
regions
- The list of Regions for which log sources are displayed.public ListLogSourcesRequest withRegions(String... regions)
The list of Regions for which log sources are displayed.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- The list of Regions for which log sources are displayed.public ListLogSourcesRequest withRegions(Collection<String> regions)
The list of Regions for which log sources are displayed.
regions
- The list of Regions for which log sources are displayed.public List<LogSourceResource> getSources()
The list of sources for which log sources are displayed.
public void setSources(Collection<LogSourceResource> sources)
The list of sources for which log sources are displayed.
sources
- The list of sources for which log sources are displayed.public ListLogSourcesRequest withSources(LogSourceResource... sources)
The list of sources for which log sources are displayed.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The list of sources for which log sources are displayed.public ListLogSourcesRequest withSources(Collection<LogSourceResource> sources)
The list of sources for which log sources are displayed.
sources
- The list of sources for which log sources are displayed.public String toString()
toString
in class Object
Object.toString()
public ListLogSourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()