@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMilestonesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Output of a list milestones call.
Constructor and Description |
---|
ListMilestonesResult() |
Modifier and Type | Method and Description |
---|---|
ListMilestonesResult |
clone() |
boolean |
equals(Object obj) |
List<MilestoneSummary> |
getMilestoneSummaries() |
String |
getNextToken() |
String |
getWorkloadId() |
int |
hashCode() |
void |
setMilestoneSummaries(Collection<MilestoneSummary> milestoneSummaries) |
void |
setNextToken(String nextToken) |
void |
setWorkloadId(String workloadId) |
String |
toString()
Returns a string representation of this object.
|
ListMilestonesResult |
withMilestoneSummaries(Collection<MilestoneSummary> milestoneSummaries) |
ListMilestonesResult |
withMilestoneSummaries(MilestoneSummary... milestoneSummaries)
NOTE: This method appends the values to the existing list (if any).
|
ListMilestonesResult |
withNextToken(String nextToken) |
ListMilestonesResult |
withWorkloadId(String workloadId) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWorkloadId(String workloadId)
workloadId
- public String getWorkloadId()
public ListMilestonesResult withWorkloadId(String workloadId)
workloadId
- public List<MilestoneSummary> getMilestoneSummaries()
public void setMilestoneSummaries(Collection<MilestoneSummary> milestoneSummaries)
milestoneSummaries
- public ListMilestonesResult withMilestoneSummaries(MilestoneSummary... milestoneSummaries)
NOTE: This method appends the values to the existing list (if any). Use
setMilestoneSummaries(java.util.Collection)
or withMilestoneSummaries(java.util.Collection)
if
you want to override the existing values.
milestoneSummaries
- public ListMilestonesResult withMilestoneSummaries(Collection<MilestoneSummary> milestoneSummaries)
milestoneSummaries
- public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListMilestonesResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListMilestonesResult clone()