Class DescribeEventTopicsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.DescribeEventTopicsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeEventTopicsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeEventTopicsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEventTopicsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDirectoryId()
The Directory ID for which to get the list of associated SNS topics.List<String>
getTopicNames()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeEventTopicsRequest
withDirectoryId(String directoryId)
The Directory ID for which to get the list of associated SNS topics.DescribeEventTopicsRequest
withTopicNames(String... topicNames)
A list of SNS topic names for which to obtain the information.DescribeEventTopicsRequest
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
-
-
-
-
Method Detail
-
setDirectoryId
public void setDirectoryId(String 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.
- 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
public String 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
public DescribeEventTopicsRequest withDirectoryId(String 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.
- 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
public List<String> 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
public void setTopicNames(Collection<String> 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.- 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
public DescribeEventTopicsRequest withTopicNames(String... 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.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
public DescribeEventTopicsRequest withTopicNames(Collection<String> 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.- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEventTopicsRequest 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:
Object.clone()
-
-