Class ListVersionsByFunctionResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.ListVersionsByFunctionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListVersionsByFunctionResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListVersionsByFunctionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVersionsByFunctionResult
clone()
boolean
equals(Object obj)
String
getNextMarker()
A string, present if there are more function versions.List<FunctionConfiguration>
getVersions()
A list of Lambda function versions.int
hashCode()
void
setNextMarker(String nextMarker)
A string, present if there are more function versions.void
setVersions(Collection<FunctionConfiguration> versions)
A list of Lambda function versions.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListVersionsByFunctionResult
withNextMarker(String nextMarker)
A string, present if there are more function versions.ListVersionsByFunctionResult
withVersions(FunctionConfiguration... versions)
A list of Lambda function versions.ListVersionsByFunctionResult
withVersions(Collection<FunctionConfiguration> versions)
A list of Lambda function versions.
-
-
-
Method Detail
-
setNextMarker
public void setNextMarker(String nextMarker)
A string, present if there are more function versions.
- Parameters:
nextMarker
- A string, present if there are more function versions.
-
getNextMarker
public String getNextMarker()
A string, present if there are more function versions.
- Returns:
- A string, present if there are more function versions.
-
withNextMarker
public ListVersionsByFunctionResult withNextMarker(String nextMarker)
A string, present if there are more function versions.
- Parameters:
nextMarker
- A string, present if there are more function versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVersions
public List<FunctionConfiguration> getVersions()
A list of Lambda function versions.
- Returns:
- A list of Lambda function versions.
-
setVersions
public void setVersions(Collection<FunctionConfiguration> versions)
A list of Lambda function versions.
- Parameters:
versions
- A list of Lambda function versions.
-
withVersions
public ListVersionsByFunctionResult withVersions(FunctionConfiguration... versions)
A list of Lambda function versions.
NOTE: This method appends the values to the existing list (if any). Use
setVersions(java.util.Collection)
orwithVersions(java.util.Collection)
if you want to override the existing values.- Parameters:
versions
- A list of Lambda function versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVersions
public ListVersionsByFunctionResult withVersions(Collection<FunctionConfiguration> versions)
A list of Lambda function versions.
- Parameters:
versions
- A list of Lambda function versions.- 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 ListVersionsByFunctionResult clone()
-
-