com.amazonaws.services.elasticbeanstalk.model
Class Trigger

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.Trigger

public class Trigger
extends Object

Describes a trigger.


Constructor Summary
Trigger()
          Default constructor for a new Trigger object.
 
Method Summary
 String getName()
          The name of the trigger.
 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
equals, getClass, hashCode, 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()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.