Class GetResourceConfigHistoryRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.GetResourceConfigHistoryRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class GetResourceConfigHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the GetResourceConfigHistory action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetResourceConfigHistoryRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetResourceConfigHistoryRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetChronologicalOrder()The chronological order for configuration items listed.DategetEarlierTime()The time stamp that indicates an earlier time.DategetLaterTime()The time stamp that indicates a later time.IntegergetLimit()The maximum number of configuration items returned on each page.StringgetNextToken()ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.StringgetResourceId()The ID of the resource (for example.,sg-xxxxxx).StringgetResourceType()The resource type.inthashCode()voidsetChronologicalOrder(ChronologicalOrder chronologicalOrder)The chronological order for configuration items listed.voidsetChronologicalOrder(String chronologicalOrder)The chronological order for configuration items listed.voidsetEarlierTime(Date earlierTime)The time stamp that indicates an earlier time.voidsetLaterTime(Date laterTime)The time stamp that indicates a later time.voidsetLimit(Integer limit)The maximum number of configuration items returned on each page.voidsetNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.voidsetResourceId(String resourceId)The ID of the resource (for example.,sg-xxxxxx).voidsetResourceType(ResourceType resourceType)The resource type.voidsetResourceType(String resourceType)The resource type.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetResourceConfigHistoryRequestwithChronologicalOrder(ChronologicalOrder chronologicalOrder)The chronological order for configuration items listed.GetResourceConfigHistoryRequestwithChronologicalOrder(String chronologicalOrder)The chronological order for configuration items listed.GetResourceConfigHistoryRequestwithEarlierTime(Date earlierTime)The time stamp that indicates an earlier time.GetResourceConfigHistoryRequestwithLaterTime(Date laterTime)The time stamp that indicates a later time.GetResourceConfigHistoryRequestwithLimit(Integer limit)The maximum number of configuration items returned on each page.GetResourceConfigHistoryRequestwithNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.GetResourceConfigHistoryRequestwithResourceId(String resourceId)The ID of the resource (for example.,sg-xxxxxx).GetResourceConfigHistoryRequestwithResourceType(ResourceType resourceType)The resource type.GetResourceConfigHistoryRequestwithResourceType(String resourceType)The resource type.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setResourceType
public void setResourceType(String resourceType)
The resource type.
- Parameters:
resourceType- The resource type.- See Also:
ResourceType
-
getResourceType
public String getResourceType()
The resource type.
- Returns:
- The resource type.
- See Also:
ResourceType
-
withResourceType
public GetResourceConfigHistoryRequest withResourceType(String resourceType)
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType
-
setResourceType
public void setResourceType(ResourceType resourceType)
The resource type.
- Parameters:
resourceType- The resource type.- See Also:
ResourceType
-
withResourceType
public GetResourceConfigHistoryRequest withResourceType(ResourceType resourceType)
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType
-
setResourceId
public void setResourceId(String resourceId)
The ID of the resource (for example.,
sg-xxxxxx).- Parameters:
resourceId- The ID of the resource (for example.,sg-xxxxxx).
-
getResourceId
public String getResourceId()
The ID of the resource (for example.,
sg-xxxxxx).- Returns:
- The ID of the resource (for example.,
sg-xxxxxx).
-
withResourceId
public GetResourceConfigHistoryRequest withResourceId(String resourceId)
The ID of the resource (for example.,
sg-xxxxxx).- Parameters:
resourceId- The ID of the resource (for example.,sg-xxxxxx).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLaterTime
public void setLaterTime(Date laterTime)
The time stamp that indicates a later time. If not specified, current time is taken.
- Parameters:
laterTime- The time stamp that indicates a later time. If not specified, current time is taken.
-
getLaterTime
public Date getLaterTime()
The time stamp that indicates a later time. If not specified, current time is taken.
- Returns:
- The time stamp that indicates a later time. If not specified, current time is taken.
-
withLaterTime
public GetResourceConfigHistoryRequest withLaterTime(Date laterTime)
The time stamp that indicates a later time. If not specified, current time is taken.
- Parameters:
laterTime- The time stamp that indicates a later time. If not specified, current time is taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEarlierTime
public void setEarlierTime(Date earlierTime)
The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
- Parameters:
earlierTime- The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
-
getEarlierTime
public Date getEarlierTime()
The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
- Returns:
- The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
-
withEarlierTime
public GetResourceConfigHistoryRequest withEarlierTime(Date earlierTime)
The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
- Parameters:
earlierTime- The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChronologicalOrder
public void setChronologicalOrder(String chronologicalOrder)
The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
- Parameters:
chronologicalOrder- The chronological order for configuration items listed. By default the results are listed in reverse chronological order.- See Also:
ChronologicalOrder
-
getChronologicalOrder
public String getChronologicalOrder()
The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
- Returns:
- The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
- See Also:
ChronologicalOrder
-
withChronologicalOrder
public GetResourceConfigHistoryRequest withChronologicalOrder(String chronologicalOrder)
The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
- Parameters:
chronologicalOrder- The chronological order for configuration items listed. By default the results are listed in reverse chronological order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChronologicalOrder
-
setChronologicalOrder
public void setChronologicalOrder(ChronologicalOrder chronologicalOrder)
The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
- Parameters:
chronologicalOrder- The chronological order for configuration items listed. By default the results are listed in reverse chronological order.- See Also:
ChronologicalOrder
-
withChronologicalOrder
public GetResourceConfigHistoryRequest withChronologicalOrder(ChronologicalOrder chronologicalOrder)
The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
- Parameters:
chronologicalOrder- The chronological order for configuration items listed. By default the results are listed in reverse chronological order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChronologicalOrder
-
setLimit
public void setLimit(Integer limit)
The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
- Parameters:
limit- The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
-
getLimit
public Integer getLimit()
The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
- Returns:
- The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
-
withLimit
public GetResourceConfigHistoryRequest withLimit(Integer limit)
The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
- Parameters:
limit- The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
withNextToken
public GetResourceConfigHistoryRequest withNextToken(String nextToken)
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetResourceConfigHistoryRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-