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:
  • Constructor Details

    • GetResourceConfigHistoryRequest

      public GetResourceConfigHistoryRequest()
  • Method Details

    • setResourceType

      public void setResourceType(String resourceType)

      The resource type.

      Parameters:
      resourceType - The resource type.
      See Also:
    • getResourceType

      public String getResourceType()

      The resource type.

      Returns:
      The resource type.
      See Also:
    • 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:
    • setResourceType

      public void setResourceType(ResourceType resourceType)

      The resource type.

      Parameters:
      resourceType - The resource type.
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 - The nextToken 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 - The nextToken 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: