@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAffectedEntitiesForOrganizationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAffectedEntitiesForOrganizationResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAffectedEntitiesForOrganizationResult |
clone() |
boolean |
equals(Object obj) |
List<AffectedEntity> |
getEntities()
A JSON set of elements including the
awsAccountId and its entityArn ,
entityValue and its entityArn , lastUpdatedTime , and
statusCode . |
List<OrganizationAffectedEntitiesErrorItem> |
getFailedSet()
A JSON set of elements of the failed response, including the
awsAccountId , errorMessage , errorName , and eventArn . |
String |
getNextToken()
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
int |
hashCode() |
void |
setEntities(Collection<AffectedEntity> entities)
A JSON set of elements including the
awsAccountId and its entityArn ,
entityValue and its entityArn , lastUpdatedTime , and
statusCode . |
void |
setFailedSet(Collection<OrganizationAffectedEntitiesErrorItem> failedSet)
A JSON set of elements of the failed response, including the
awsAccountId , errorMessage , errorName , and eventArn . |
void |
setNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
String |
toString()
Returns a string representation of this object.
|
DescribeAffectedEntitiesForOrganizationResult |
withEntities(AffectedEntity... entities)
A JSON set of elements including the
awsAccountId and its entityArn ,
entityValue and its entityArn , lastUpdatedTime , and
statusCode . |
DescribeAffectedEntitiesForOrganizationResult |
withEntities(Collection<AffectedEntity> entities)
A JSON set of elements including the
awsAccountId and its entityArn ,
entityValue and its entityArn , lastUpdatedTime , and
statusCode . |
DescribeAffectedEntitiesForOrganizationResult |
withFailedSet(Collection<OrganizationAffectedEntitiesErrorItem> failedSet)
A JSON set of elements of the failed response, including the
awsAccountId , errorMessage , errorName , and eventArn . |
DescribeAffectedEntitiesForOrganizationResult |
withFailedSet(OrganizationAffectedEntitiesErrorItem... failedSet)
A JSON set of elements of the failed response, including the
awsAccountId , errorMessage , errorName , and eventArn . |
DescribeAffectedEntitiesForOrganizationResult |
withNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeAffectedEntitiesForOrganizationResult()
public List<AffectedEntity> getEntities()
A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.
awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.public void setEntities(Collection<AffectedEntity> entities)
A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.
entities
- A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.public DescribeAffectedEntitiesForOrganizationResult withEntities(AffectedEntity... entities)
A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.
NOTE: This method appends the values to the existing list (if any). Use
setEntities(java.util.Collection)
or withEntities(java.util.Collection)
if you want to override
the existing values.
entities
- A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.public DescribeAffectedEntitiesForOrganizationResult withEntities(Collection<AffectedEntity> entities)
A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.
entities
- A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and
statusCode
.public List<OrganizationAffectedEntitiesErrorItem> getFailedSet()
A JSON set of elements of the failed response, including the awsAccountId
, errorMessage
, errorName
, and eventArn
.
awsAccountId
,
errorMessage
, errorName
, and eventArn
.public void setFailedSet(Collection<OrganizationAffectedEntitiesErrorItem> failedSet)
A JSON set of elements of the failed response, including the awsAccountId
, errorMessage
, errorName
, and eventArn
.
failedSet
- A JSON set of elements of the failed response, including the awsAccountId
,
errorMessage
, errorName
, and eventArn
.public DescribeAffectedEntitiesForOrganizationResult withFailedSet(OrganizationAffectedEntitiesErrorItem... failedSet)
A JSON set of elements of the failed response, including the awsAccountId
, errorMessage
, errorName
, and eventArn
.
NOTE: This method appends the values to the existing list (if any). Use
setFailedSet(java.util.Collection)
or withFailedSet(java.util.Collection)
if you want to
override the existing values.
failedSet
- A JSON set of elements of the failed response, including the awsAccountId
,
errorMessage
, errorName
, and eventArn
.public DescribeAffectedEntitiesForOrganizationResult withFailedSet(Collection<OrganizationAffectedEntitiesErrorItem> failedSet)
A JSON set of elements of the failed response, including the awsAccountId
, errorMessage
, errorName
, and eventArn
.
failedSet
- A JSON set of elements of the failed response, including the awsAccountId
,
errorMessage
, errorName
, and eventArn
.public void setNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
- If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public String getNextToken()
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public DescribeAffectedEntitiesForOrganizationResult withNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
- If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public String toString()
toString
in class Object
Object.toString()
public DescribeAffectedEntitiesForOrganizationResult clone()