@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchResourcesResult() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The NextToken value to include in a subsequent
SearchResources request, to get more results. |
List<QueryError> |
getQueryErrors()
A list of
QueryError objects. |
List<ResourceIdentifier> |
getResourceIdentifiers()
The ARNs and resource types of resources that are members of the group that you specified.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The NextToken value to include in a subsequent
SearchResources request, to get more results. |
void |
setQueryErrors(Collection<QueryError> queryErrors)
A list of
QueryError objects. |
void |
setResourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)
The ARNs and resource types of resources that are members of the group that you specified.
|
String |
toString()
Returns a string representation of this object.
|
SearchResourcesResult |
withNextToken(String nextToken)
The NextToken value to include in a subsequent
SearchResources request, to get more results. |
SearchResourcesResult |
withQueryErrors(Collection<QueryError> queryErrors)
A list of
QueryError objects. |
SearchResourcesResult |
withQueryErrors(QueryError... queryErrors)
A list of
QueryError objects. |
SearchResourcesResult |
withResourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)
The ARNs and resource types of resources that are members of the group that you specified.
|
SearchResourcesResult |
withResourceIdentifiers(ResourceIdentifier... resourceIdentifiers)
The ARNs and resource types of resources that are members of the group that you specified.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceIdentifier> getResourceIdentifiers()
The ARNs and resource types of resources that are members of the group that you specified.
public void setResourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)
The ARNs and resource types of resources that are members of the group that you specified.
resourceIdentifiers
- The ARNs and resource types of resources that are members of the group that you specified.public SearchResourcesResult withResourceIdentifiers(ResourceIdentifier... resourceIdentifiers)
The ARNs and resource types of resources that are members of the group that you specified.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIdentifiers(java.util.Collection)
or withResourceIdentifiers(java.util.Collection)
if you want to override the existing values.
resourceIdentifiers
- The ARNs and resource types of resources that are members of the group that you specified.public SearchResourcesResult withResourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)
The ARNs and resource types of resources that are members of the group that you specified.
resourceIdentifiers
- The ARNs and resource types of resources that are members of the group that you specified.public void setNextToken(String nextToken)
The NextToken value to include in a subsequent SearchResources
request, to get more results.
nextToken
- The NextToken value to include in a subsequent SearchResources
request, to get more results.public String getNextToken()
The NextToken value to include in a subsequent SearchResources
request, to get more results.
SearchResources
request, to get more results.public SearchResourcesResult withNextToken(String nextToken)
The NextToken value to include in a subsequent SearchResources
request, to get more results.
nextToken
- The NextToken value to include in a subsequent SearchResources
request, to get more results.public List<QueryError> getQueryErrors()
A list of QueryError
objects. Each error is an object that contains ErrorCode
and
Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.
QueryError
objects. Each error is an object that contains ErrorCode
and Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.public void setQueryErrors(Collection<QueryError> queryErrors)
A list of QueryError
objects. Each error is an object that contains ErrorCode
and
Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.
queryErrors
- A list of QueryError
objects. Each error is an object that contains ErrorCode
and Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.public SearchResourcesResult withQueryErrors(QueryError... queryErrors)
A list of QueryError
objects. Each error is an object that contains ErrorCode
and
Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.
NOTE: This method appends the values to the existing list (if any). Use
setQueryErrors(java.util.Collection)
or withQueryErrors(java.util.Collection)
if you want to
override the existing values.
queryErrors
- A list of QueryError
objects. Each error is an object that contains ErrorCode
and Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.public SearchResourcesResult withQueryErrors(Collection<QueryError> queryErrors)
A list of QueryError
objects. Each error is an object that contains ErrorCode
and
Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.
queryErrors
- A list of QueryError
objects. Each error is an object that contains ErrorCode
and Message
structures. Possible values for ErrorCode
are
CLOUDFORMATION_STACK_INACTIVE
and CLOUDFORMATION_STACK_NOT_EXISTING
.public String toString()
toString
in class Object
Object.toString()
public SearchResourcesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.