Class RetrieveEnvironmentInfoResult
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.RetrieveEnvironmentInfoResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RetrieveEnvironmentInfoResult extends Object implements Serializable, Cloneable
Result message containing a description of the requested environment info.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetrieveEnvironmentInfoResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RetrieveEnvironmentInfoResult
clone()
boolean
equals(Object obj)
List<EnvironmentInfoDescription>
getEnvironmentInfo()
The EnvironmentInfoDescription of the environment.int
hashCode()
void
setEnvironmentInfo(Collection<EnvironmentInfoDescription> environmentInfo)
The EnvironmentInfoDescription of the environment.String
toString()
Returns a string representation of this object; useful for testing and debugging.RetrieveEnvironmentInfoResult
withEnvironmentInfo(EnvironmentInfoDescription... environmentInfo)
The EnvironmentInfoDescription of the environment.RetrieveEnvironmentInfoResult
withEnvironmentInfo(Collection<EnvironmentInfoDescription> environmentInfo)
The EnvironmentInfoDescription of the environment.
-
-
-
Method Detail
-
getEnvironmentInfo
public List<EnvironmentInfoDescription> getEnvironmentInfo()
The EnvironmentInfoDescription of the environment.
- Returns:
- The EnvironmentInfoDescription of the environment.
-
setEnvironmentInfo
public void setEnvironmentInfo(Collection<EnvironmentInfoDescription> environmentInfo)
The EnvironmentInfoDescription of the environment.
- Parameters:
environmentInfo
- The EnvironmentInfoDescription of the environment.
-
withEnvironmentInfo
public RetrieveEnvironmentInfoResult withEnvironmentInfo(EnvironmentInfoDescription... environmentInfo)
The EnvironmentInfoDescription of the environment.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentInfo(java.util.Collection)
orwithEnvironmentInfo(java.util.Collection)
if you want to override the existing values.- Parameters:
environmentInfo
- The EnvironmentInfoDescription of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEnvironmentInfo
public RetrieveEnvironmentInfoResult withEnvironmentInfo(Collection<EnvironmentInfoDescription> environmentInfo)
The EnvironmentInfoDescription of the environment.
- Parameters:
environmentInfo
- The EnvironmentInfoDescription of the environment.- 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 RetrieveEnvironmentInfoResult clone()
-
-