@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()
If present, indicates that more output is available than is included in the current response.
|
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)
If present, indicates that more output is available than is included in the current response.
|
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)
If present, indicates that more output is available than is included in the current response.
|
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)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
nextToken
- If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public String getNextToken()
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public SearchResourcesResult withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
nextToken
- If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.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()