Class DescribeSubscriptionFiltersRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.logs.model.DescribeSubscriptionFiltersRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeSubscriptionFiltersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeSubscriptionFiltersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSubscriptionFiltersRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetFilterNamePrefix()Will only return subscription filters that match the provided filterNamePrefix.IntegergetLimit()StringgetLogGroupName()The log group name for which subscription filters are to be listed.StringgetNextToken()inthashCode()voidsetFilterNamePrefix(String filterNamePrefix)Will only return subscription filters that match the provided filterNamePrefix.voidsetLimit(Integer limit)voidsetLogGroupName(String logGroupName)The log group name for which subscription filters are to be listed.voidsetNextToken(String nextToken)StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeSubscriptionFiltersRequestwithFilterNamePrefix(String filterNamePrefix)Will only return subscription filters that match the provided filterNamePrefix.DescribeSubscriptionFiltersRequestwithLimit(Integer limit)DescribeSubscriptionFiltersRequestwithLogGroupName(String logGroupName)The log group name for which subscription filters are to be listed.DescribeSubscriptionFiltersRequestwithNextToken(String nextToken)-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setLogGroupName
public void setLogGroupName(String logGroupName)
The log group name for which subscription filters are to be listed.
- Parameters:
logGroupName- The log group name for which subscription filters are to be listed.
-
getLogGroupName
public String getLogGroupName()
The log group name for which subscription filters are to be listed.
- Returns:
- The log group name for which subscription filters are to be listed.
-
withLogGroupName
public DescribeSubscriptionFiltersRequest withLogGroupName(String logGroupName)
The log group name for which subscription filters are to be listed.
- Parameters:
logGroupName- The log group name for which subscription filters are to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFilterNamePrefix
public void setFilterNamePrefix(String filterNamePrefix)
Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
- Parameters:
filterNamePrefix- Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
-
getFilterNamePrefix
public String getFilterNamePrefix()
Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
- Returns:
- Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
-
withFilterNamePrefix
public DescribeSubscriptionFiltersRequest withFilterNamePrefix(String filterNamePrefix)
Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
- Parameters:
filterNamePrefix- Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
- Parameters:
nextToken-
-
getNextToken
public String getNextToken()
- Returns:
-
withNextToken
public DescribeSubscriptionFiltersRequest withNextToken(String nextToken)
- Parameters:
nextToken-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
- Parameters:
limit-
-
getLimit
public Integer getLimit()
- Returns:
-
withLimit
public DescribeSubscriptionFiltersRequest withLimit(Integer limit)
- Parameters:
limit-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeSubscriptionFiltersRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-