@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResourceCollectionHealthResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeResourceCollectionHealthResult() |
Modifier and Type | Method and Description |
---|---|
DescribeResourceCollectionHealthResult |
clone() |
boolean |
equals(Object obj) |
List<CloudFormationHealth> |
getCloudFormation()
The returned
CloudFormationHealthOverview object that contains an InsightHealthOverview
object with the requested system health information. |
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
List<ServiceHealth> |
getService()
An array of
ServiceHealth objects that describes the health of the Amazon Web Services services
associated with the resources in the collection. |
int |
hashCode() |
void |
setCloudFormation(Collection<CloudFormationHealth> cloudFormation)
The returned
CloudFormationHealthOverview object that contains an InsightHealthOverview
object with the requested system health information. |
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setService(Collection<ServiceHealth> service)
An array of
ServiceHealth objects that describes the health of the Amazon Web Services services
associated with the resources in the collection. |
String |
toString()
Returns a string representation of this object.
|
DescribeResourceCollectionHealthResult |
withCloudFormation(CloudFormationHealth... cloudFormation)
The returned
CloudFormationHealthOverview object that contains an InsightHealthOverview
object with the requested system health information. |
DescribeResourceCollectionHealthResult |
withCloudFormation(Collection<CloudFormationHealth> cloudFormation)
The returned
CloudFormationHealthOverview object that contains an InsightHealthOverview
object with the requested system health information. |
DescribeResourceCollectionHealthResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeResourceCollectionHealthResult |
withService(Collection<ServiceHealth> service)
An array of
ServiceHealth objects that describes the health of the Amazon Web Services services
associated with the resources in the collection. |
DescribeResourceCollectionHealthResult |
withService(ServiceHealth... service)
An array of
ServiceHealth objects that describes the health of the Amazon Web Services services
associated with the resources in the collection. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeResourceCollectionHealthResult()
public List<CloudFormationHealth> getCloudFormation()
The returned CloudFormationHealthOverview
object that contains an InsightHealthOverview
object with the requested system health information.
CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health information.public void setCloudFormation(Collection<CloudFormationHealth> cloudFormation)
The returned CloudFormationHealthOverview
object that contains an InsightHealthOverview
object with the requested system health information.
cloudFormation
- The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health information.public DescribeResourceCollectionHealthResult withCloudFormation(CloudFormationHealth... cloudFormation)
The returned CloudFormationHealthOverview
object that contains an InsightHealthOverview
object with the requested system health information.
NOTE: This method appends the values to the existing list (if any). Use
setCloudFormation(java.util.Collection)
or withCloudFormation(java.util.Collection)
if you want
to override the existing values.
cloudFormation
- The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health information.public DescribeResourceCollectionHealthResult withCloudFormation(Collection<CloudFormationHealth> cloudFormation)
The returned CloudFormationHealthOverview
object that contains an InsightHealthOverview
object with the requested system health information.
cloudFormation
- The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health information.public List<ServiceHealth> getService()
An array of ServiceHealth
objects that describes the health of the Amazon Web Services services
associated with the resources in the collection.
ServiceHealth
objects that describes the health of the Amazon Web Services
services associated with the resources in the collection.public void setService(Collection<ServiceHealth> service)
An array of ServiceHealth
objects that describes the health of the Amazon Web Services services
associated with the resources in the collection.
service
- An array of ServiceHealth
objects that describes the health of the Amazon Web Services
services associated with the resources in the collection.public DescribeResourceCollectionHealthResult withService(ServiceHealth... service)
An array of ServiceHealth
objects that describes the health of the Amazon Web Services services
associated with the resources in the collection.
NOTE: This method appends the values to the existing list (if any). Use
setService(java.util.Collection)
or withService(java.util.Collection)
if you want to override
the existing values.
service
- An array of ServiceHealth
objects that describes the health of the Amazon Web Services
services associated with the resources in the collection.public DescribeResourceCollectionHealthResult withService(Collection<ServiceHealth> service)
An array of ServiceHealth
objects that describes the health of the Amazon Web Services services
associated with the resources in the collection.
service
- An array of ServiceHealth
objects that describes the health of the Amazon Web Services
services associated with the resources in the collection.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeResourceCollectionHealthResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeResourceCollectionHealthResult clone()