Class PutDestinationResult
- java.lang.Object
-
- com.amazonaws.services.logs.model.PutDestinationResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PutDestinationResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PutDestinationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutDestinationResult
clone()
boolean
equals(Object obj)
Destination
getDestination()
int
hashCode()
void
setDestination(Destination destination)
String
toString()
Returns a string representation of this object; useful for testing and debugging.PutDestinationResult
withDestination(Destination destination)
-
-
-
Method Detail
-
setDestination
public void setDestination(Destination destination)
- Parameters:
destination
-
-
getDestination
public Destination getDestination()
- Returns:
-
withDestination
public PutDestinationResult withDestination(Destination destination)
- Parameters:
destination
-- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutDestinationResult clone()
-
-