Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class Trigger

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.Trigger
All Implemented Interfaces:
Serializable

public class Trigger
extends Object
implements Serializable

Describes a trigger.

See Also:
Serialized Form

Constructor Summary
Trigger()
          Default constructor for a new Trigger object.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          The name of the trigger.
 int hashCode()
           
 void setName(String name)
          The name of the trigger.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Trigger withName(String name)
          The name of the trigger.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Trigger

public Trigger()
Default constructor for a new Trigger object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getName

public String getName()
The name of the trigger.

Returns:
The name of the trigger.

setName

public void setName(String name)
The name of the trigger.

Parameters:
name - The name of the trigger.

withName

public Trigger withName(String name)
The name of the trigger.

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

Parameters:
name - The name of the trigger.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.