@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventTopicsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Describes event topics.
NOOP
Constructor and Description |
---|
DescribeEventTopicsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEventTopicsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The Directory ID for which to get the list of associated Amazon SNS topics.
|
List<String> |
getTopicNames()
A list of Amazon 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 Amazon SNS topics.
|
void |
setTopicNames(Collection<String> topicNames)
A list of Amazon SNS topic names for which to obtain the information.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEventTopicsRequest |
withDirectoryId(String directoryId)
The Directory ID for which to get the list of associated Amazon SNS topics.
|
DescribeEventTopicsRequest |
withTopicNames(Collection<String> topicNames)
A list of Amazon SNS topic names for which to obtain the information.
|
DescribeEventTopicsRequest |
withTopicNames(String... topicNames)
A list of Amazon SNS topic names for which to obtain the information.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The Directory ID for which to get the list of associated Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon SNS topics. If this member is null,
associations for all Directory IDs are returned.public List<String> getTopicNames()
A list of Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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()