Class DescribeEventTopicsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The Directory ID for which to get the list of associated SNS topics.A list of SNS topic names for which to obtain the information.int
hashCode()
void
setDirectoryId
(String directoryId) The Directory ID for which to get the list of associated SNS topics.void
setTopicNames
(Collection<String> topicNames) A list of SNS topic names for which to obtain the information.toString()
Returns a string representation of this object; useful for testing and debugging.withDirectoryId
(String directoryId) The Directory ID for which to get the list of associated SNS topics.withTopicNames
(String... topicNames) A list of SNS topic names for which to obtain the information.withTopicNames
(Collection<String> topicNames) A list of SNS topic names for which to obtain the information.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
-
Constructor Details
-
DescribeEventTopicsRequest
public DescribeEventTopicsRequest()
-
-
Method Details
-
setDirectoryId
The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
- Parameters:
directoryId
- The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
-
getDirectoryId
The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
- Returns:
- The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
-
withDirectoryId
The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
- Parameters:
directoryId
- The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTopicNames
A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.
An empty list results in an
InvalidParameterException
being thrown.- Returns:
- A list of SNS topic names for which to obtain the information. If
this member is null, all associations for the specified Directory
ID are returned.
An empty list results in an
InvalidParameterException
being thrown.
-
setTopicNames
A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.
An empty list results in an
InvalidParameterException
being thrown.- Parameters:
topicNames
- A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.An empty list results in an
InvalidParameterException
being thrown.
-
withTopicNames
A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.
An empty list results in an
InvalidParameterException
being thrown.NOTE: This method appends the values to the existing list (if any). Use
setTopicNames(java.util.Collection)
orwithTopicNames(java.util.Collection)
if you want to override the existing values.- Parameters:
topicNames
- A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.An empty list results in an
InvalidParameterException
being thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTopicNames
A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.
An empty list results in an
InvalidParameterException
being thrown.- Parameters:
topicNames
- A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.An empty list results in an
InvalidParameterException
being thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-