public class DescribeEventTopicsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEventTopicsRequest() |
Modifier and Type | Method and 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(Collection<String> topicNames)
A list of SNS topic names for which to obtain the information.
|
DescribeEventTopicsRequest |
withTopicNames(String... topicNames)
A list of SNS topic names for which to obtain the information.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
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.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.
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.
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.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.
An empty list results in an
InvalidParameterException
being thrown.
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.
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.
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)
or
withTopicNames(java.util.Collection)
if you want to override the
existing values.
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.
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.
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.
public String toString()
toString
in class Object
Object.toString()
public DescribeEventTopicsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.