com.amazonaws.services.redshift.model
Class EventCategoriesMap

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

public class EventCategoriesMap
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
EventCategoriesMap()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<EventInfoMap> getEvents()
          The events in the event category.
 String getSourceType()
          The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.
 int hashCode()
           
 void setEvents(Collection<EventInfoMap> events)
          The events in the event category.
 void setSourceType(String sourceType)
          The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EventCategoriesMap withEvents(Collection<EventInfoMap> events)
          The events in the event category.
 EventCategoriesMap withEvents(EventInfoMap... events)
          The events in the event category.
 EventCategoriesMap withSourceType(String sourceType)
          The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventCategoriesMap

public EventCategoriesMap()
Method Detail

getSourceType

public String getSourceType()
The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.

Returns:
The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.

setSourceType

public void setSourceType(String sourceType)
The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.

Parameters:
sourceType - The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.

withSourceType

public EventCategoriesMap withSourceType(String sourceType)
The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.

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

Parameters:
sourceType - The Amazon Redshift source type, such as cluster or cluster-snapshot, that the returned categories belong to.
Returns:
A reference to this updated object so that method calls can be chained together.

getEvents

public List<EventInfoMap> getEvents()
The events in the event category.

Returns:
The events in the event category.

setEvents

public void setEvents(Collection<EventInfoMap> events)
The events in the event category.

Parameters:
events - The events in the event category.

withEvents

public EventCategoriesMap withEvents(EventInfoMap... events)
The events in the event category.

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

Parameters:
events - The events in the event category.
Returns:
A reference to this updated object so that method calls can be chained together.

withEvents

public EventCategoriesMap withEvents(Collection<EventInfoMap> events)
The events in the event category.

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

Parameters:
events - The events in the event category.
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.