Class GetResourceConfigHistoryResult

java.lang.Object
com.amazonaws.services.config.model.GetResourceConfigHistoryResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetResourceConfigHistoryResult extends Object implements Serializable, Cloneable

The output for the GetResourceConfigHistory action.

See Also:
  • Constructor Details

    • GetResourceConfigHistoryResult

      public GetResourceConfigHistoryResult()
  • Method Details

    • getConfigurationItems

      public List<ConfigurationItem> getConfigurationItems()

      A list that contains the configuration history of one or more resources.

      Returns:
      A list that contains the configuration history of one or more resources.
    • setConfigurationItems

      public void setConfigurationItems(Collection<ConfigurationItem> configurationItems)

      A list that contains the configuration history of one or more resources.

      Parameters:
      configurationItems - A list that contains the configuration history of one or more resources.
    • withConfigurationItems

      public GetResourceConfigHistoryResult withConfigurationItems(ConfigurationItem... configurationItems)

      A list that contains the configuration history of one or more resources.

      NOTE: This method appends the values to the existing list (if any). Use setConfigurationItems(java.util.Collection) or withConfigurationItems(java.util.Collection) if you want to override the existing values.

      Parameters:
      configurationItems - A list that contains the configuration history of one or more resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withConfigurationItems

      public GetResourceConfigHistoryResult withConfigurationItems(Collection<ConfigurationItem> configurationItems)

      A list that contains the configuration history of one or more resources.

      Parameters:
      configurationItems - A list that contains the configuration history of one or more resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      The string that you use in a subsequent request to get the next page of results in a paginated response.

      Parameters:
      nextToken - The string that you use in a subsequent request to get the next page of results in a paginated response.
    • getNextToken

      public String getNextToken()

      The string that you use in a subsequent request to get the next page of results in a paginated response.

      Returns:
      The string that you use in a subsequent request to get the next page of results in a paginated response.
    • withNextToken

      public GetResourceConfigHistoryResult withNextToken(String nextToken)

      The string that you use in a subsequent request to get the next page of results in a paginated response.

      Parameters:
      nextToken - The string that you use in a subsequent request 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

      Overrides:
      clone in class Object