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 DescribeEventTopicsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDirectoryId()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.inthashCode()voidsetDirectoryId(String directoryId)The Directory ID for which to get the list of associated SNS topics.voidsetTopicNames(Collection<String> topicNames)A list of SNS topic names for which to obtain the information.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeEventTopicsRequestwithDirectoryId(String directoryId)The Directory ID for which to get the list of associated SNS topics.DescribeEventTopicsRequestwithTopicNames(String... topicNames)A list of SNS topic names for which to obtain the information.DescribeEventTopicsRequestwithTopicNames(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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEventTopicsRequest 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()
-
-