@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEnabledBaselinesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEnabledBaselinesResult() |
Modifier and Type | Method and Description |
---|---|
ListEnabledBaselinesResult |
clone() |
boolean |
equals(Object obj) |
List<EnabledBaselineSummary> |
getEnabledBaselines()
Retuens a list of summaries of
EnabledBaseline resources. |
String |
getNextToken()
A pagination token.
|
int |
hashCode() |
void |
setEnabledBaselines(Collection<EnabledBaselineSummary> enabledBaselines)
Retuens a list of summaries of
EnabledBaseline resources. |
void |
setNextToken(String nextToken)
A pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListEnabledBaselinesResult |
withEnabledBaselines(Collection<EnabledBaselineSummary> enabledBaselines)
Retuens a list of summaries of
EnabledBaseline resources. |
ListEnabledBaselinesResult |
withEnabledBaselines(EnabledBaselineSummary... enabledBaselines)
Retuens a list of summaries of
EnabledBaseline resources. |
ListEnabledBaselinesResult |
withNextToken(String nextToken)
A pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EnabledBaselineSummary> getEnabledBaselines()
Retuens a list of summaries of EnabledBaseline
resources.
EnabledBaseline
resources.public void setEnabledBaselines(Collection<EnabledBaselineSummary> enabledBaselines)
Retuens a list of summaries of EnabledBaseline
resources.
enabledBaselines
- Retuens a list of summaries of EnabledBaseline
resources.public ListEnabledBaselinesResult withEnabledBaselines(EnabledBaselineSummary... enabledBaselines)
Retuens a list of summaries of EnabledBaseline
resources.
NOTE: This method appends the values to the existing list (if any). Use
setEnabledBaselines(java.util.Collection)
or withEnabledBaselines(java.util.Collection)
if you
want to override the existing values.
enabledBaselines
- Retuens a list of summaries of EnabledBaseline
resources.public ListEnabledBaselinesResult withEnabledBaselines(Collection<EnabledBaselineSummary> enabledBaselines)
Retuens a list of summaries of EnabledBaseline
resources.
enabledBaselines
- Retuens a list of summaries of EnabledBaseline
resources.public void setNextToken(String nextToken)
A pagination token.
nextToken
- A pagination token.public String getNextToken()
A pagination token.
public ListEnabledBaselinesResult withNextToken(String nextToken)
A pagination token.
nextToken
- A pagination token.public String toString()
toString
in class Object
Object.toString()
public ListEnabledBaselinesResult clone()