public class DescribeEventTopicsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryId
The Directory ID for which to get the list of associated SNS topics.
|
private SdkInternalList<java.lang.String> |
topicNames
A list of SNS topic names for which to obtain the information.
|
NOOP
Constructor and Description |
---|
DescribeEventTopicsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEventTopicsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDirectoryId()
The Directory ID for which to get the list of associated SNS topics.
|
java.util.List<java.lang.String> |
getTopicNames()
A list of SNS topic names for which to obtain the information.
|
int |
hashCode() |
void |
setDirectoryId(java.lang.String directoryId)
The Directory ID for which to get the list of associated SNS topics.
|
void |
setTopicNames(java.util.Collection<java.lang.String> topicNames)
A list of SNS topic names for which to obtain the information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventTopicsRequest |
withDirectoryId(java.lang.String directoryId)
The Directory ID for which to get the list of associated SNS topics.
|
DescribeEventTopicsRequest |
withTopicNames(java.util.Collection<java.lang.String> topicNames)
A list of SNS topic names for which to obtain the information.
|
DescribeEventTopicsRequest |
withTopicNames(java.lang.String... topicNames)
A list of SNS topic names for which to obtain the information.
|
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
private java.lang.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.
private SdkInternalList<java.lang.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.
public void setDirectoryId(java.lang.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 java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeEventTopicsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()