com.amazonaws.services.redshift.model
Class DescribeEventCategoriesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.DescribeEventCategoriesRequest
All Implemented Interfaces:
Serializable

public class DescribeEventCategoriesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 .

See Also:
AmazonRedshift.describeEventCategories(DescribeEventCategoriesRequest), Serialized Form

Constructor Summary
DescribeEventCategoriesRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeEventCategoriesRequest

public DescribeEventCategoriesRequest()
Method Detail

getSourceType

public String getSourceType()
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.

Returns:
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.


setSourceType

public void setSourceType(String 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.

Parameters:
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.


withSourceType

public DescribeEventCategoriesRequest withSourceType(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.