public class DescribeEventCategoriesRequest extends AmazonWebServiceRequest implements Serializable
DescribeEventCategories operation
.
Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications .
Constructor and Description |
---|
DescribeEventCategoriesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSourceType()
The source type, such as cluster or parameter group, to which the
described event categories apply.
|
int |
hashCode() |
void |
setSourceType(String sourceType)
The source type, such as cluster or parameter group, to which the
described event categories apply.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventCategoriesRequest |
withSourceType(String sourceType)
The source type, such as cluster or parameter group, to which the
described event categories apply.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getSourceType()
Valid values: cluster, snapshot, parameter group, and security group.
Valid values: cluster, snapshot, parameter group, and security group.
public void setSourceType(String sourceType)
Valid values: cluster, snapshot, parameter group, and security group.
sourceType
- The source type, such as cluster or parameter group, to which the
described event categories apply. Valid values: cluster, snapshot, parameter group, and security group.
public DescribeEventCategoriesRequest withSourceType(String sourceType)
Valid values: cluster, snapshot, parameter group, and security group.
Returns a reference to this object so that method calls can be chained together.
sourceType
- The source type, such as cluster or parameter group, to which the
described event categories apply. Valid values: cluster, snapshot, parameter group, and security group.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.