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 GetResourceConfigHistoryRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getChronologicalOrder()
The chronological order for configuration items listed.Date
getEarlierTime()
The time stamp that indicates an earlier time.Date
getLaterTime()
The time stamp that indicates a later time.Integer
getLimit()
The maximum number of configuration items returned on each page.String
getNextToken()
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.String
getResourceId()
The ID of the resource (for example.,sg-xxxxxx
).String
getResourceType()
The resource type.int
hashCode()
void
setChronologicalOrder(ChronologicalOrder chronologicalOrder)
The chronological order for configuration items listed.void
setChronologicalOrder(String chronologicalOrder)
The chronological order for configuration items listed.void
setEarlierTime(Date earlierTime)
The time stamp that indicates an earlier time.void
setLaterTime(Date laterTime)
The time stamp that indicates a later time.void
setLimit(Integer limit)
The maximum number of configuration items returned on each page.void
setNextToken(String nextToken)
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.void
setResourceId(String resourceId)
The ID of the resource (for example.,sg-xxxxxx
).void
setResourceType(ResourceType resourceType)
The resource type.void
setResourceType(String resourceType)
The resource type.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetResourceConfigHistoryRequest
withChronologicalOrder(ChronologicalOrder chronologicalOrder)
The chronological order for configuration items listed.GetResourceConfigHistoryRequest
withChronologicalOrder(String chronologicalOrder)
The chronological order for configuration items listed.GetResourceConfigHistoryRequest
withEarlierTime(Date earlierTime)
The time stamp that indicates an earlier time.GetResourceConfigHistoryRequest
withLaterTime(Date laterTime)
The time stamp that indicates a later time.GetResourceConfigHistoryRequest
withLimit(Integer limit)
The maximum number of configuration items returned on each page.GetResourceConfigHistoryRequest
withNextToken(String nextToken)
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.GetResourceConfigHistoryRequest
withResourceId(String resourceId)
The ID of the resource (for example.,sg-xxxxxx
).GetResourceConfigHistoryRequest
withResourceType(ResourceType resourceType)
The resource type.GetResourceConfigHistoryRequest
withResourceType(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
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextToken
string 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
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetResourceConfigHistoryRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-