Class DescribeEventsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.DescribeEventsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Request to retrieve a list of events for an environment.

See Also:
  • Constructor Details

    • DescribeEventsRequest

      public DescribeEventsRequest()
  • Method Details

    • setApplicationName

      public void setApplicationName(String applicationName)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.

      Parameters:
      applicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
    • getApplicationName

      public String getApplicationName()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
    • withApplicationName

      public DescribeEventsRequest withApplicationName(String applicationName)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.

      Parameters:
      applicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVersionLabel

      public void setVersionLabel(String versionLabel)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.

      Parameters:
      versionLabel - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
    • getVersionLabel

      public String getVersionLabel()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
    • withVersionLabel

      public DescribeEventsRequest withVersionLabel(String versionLabel)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.

      Parameters:
      versionLabel - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTemplateName

      public void setTemplateName(String templateName)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.

      Parameters:
      templateName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
    • getTemplateName

      public String getTemplateName()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
    • withTemplateName

      public DescribeEventsRequest withTemplateName(String templateName)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.

      Parameters:
      templateName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEnvironmentId

      public void setEnvironmentId(String environmentId)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

      Parameters:
      environmentId - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
    • getEnvironmentId

      public String getEnvironmentId()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
    • withEnvironmentId

      public DescribeEventsRequest withEnvironmentId(String environmentId)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

      Parameters:
      environmentId - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEnvironmentName

      public void setEnvironmentName(String environmentName)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

      Parameters:
      environmentName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
    • getEnvironmentName

      public String getEnvironmentName()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
    • withEnvironmentName

      public DescribeEventsRequest withEnvironmentName(String environmentName)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

      Parameters:
      environmentName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRequestId

      public void setRequestId(String requestId)

      If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.

      Parameters:
      requestId - If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
    • getRequestId

      public String getRequestId()

      If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
    • withRequestId

      public DescribeEventsRequest withRequestId(String requestId)

      If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.

      Parameters:
      requestId - If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSeverity

      public void setSeverity(String severity)

      If specified, limits the events returned from this call to include only those with the specified severity or higher.

      Parameters:
      severity - If specified, limits the events returned from this call to include only those with the specified severity or higher.
      See Also:
    • getSeverity

      public String getSeverity()

      If specified, limits the events returned from this call to include only those with the specified severity or higher.

      Returns:
      If specified, limits the events returned from this call to include only those with the specified severity or higher.
      See Also:
    • withSeverity

      public DescribeEventsRequest withSeverity(String severity)

      If specified, limits the events returned from this call to include only those with the specified severity or higher.

      Parameters:
      severity - If specified, limits the events returned from this call to include only those with the specified severity or higher.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSeverity

      public void setSeverity(EventSeverity severity)

      If specified, limits the events returned from this call to include only those with the specified severity or higher.

      Parameters:
      severity - If specified, limits the events returned from this call to include only those with the specified severity or higher.
      See Also:
    • withSeverity

      public DescribeEventsRequest withSeverity(EventSeverity severity)

      If specified, limits the events returned from this call to include only those with the specified severity or higher.

      Parameters:
      severity - If specified, limits the events returned from this call to include only those with the specified severity or higher.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStartTime

      public void setStartTime(Date startTime)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.

      Parameters:
      startTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
    • getStartTime

      public Date getStartTime()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
    • withStartTime

      public DescribeEventsRequest withStartTime(Date startTime)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.

      Parameters:
      startTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEndTime

      public void setEndTime(Date endTime)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.

      Parameters:
      endTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.
    • getEndTime

      public Date getEndTime()

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.

      Returns:
      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.
    • withEndTime

      public DescribeEventsRequest withEndTime(Date endTime)

      If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.

      Parameters:
      endTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxRecords

      public void setMaxRecords(Integer maxRecords)

      Specifies the maximum number of events that can be returned, beginning with the most recent event.

      Parameters:
      maxRecords - Specifies the maximum number of events that can be returned, beginning with the most recent event.
    • getMaxRecords

      public Integer getMaxRecords()

      Specifies the maximum number of events that can be returned, beginning with the most recent event.

      Returns:
      Specifies the maximum number of events that can be returned, beginning with the most recent event.
    • withMaxRecords

      public DescribeEventsRequest withMaxRecords(Integer maxRecords)

      Specifies the maximum number of events that can be returned, beginning with the most recent event.

      Parameters:
      maxRecords - Specifies the maximum number of events that can be returned, beginning with the most recent event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      Pagination token. If specified, the events return the next batch of results.

      Parameters:
      nextToken - Pagination token. If specified, the events return the next batch of results.
    • getNextToken

      public String getNextToken()

      Pagination token. If specified, the events return the next batch of results.

      Returns:
      Pagination token. If specified, the events return the next batch of results.
    • withNextToken

      public DescribeEventsRequest withNextToken(String nextToken)

      Pagination token. If specified, the events return the next batch of results.

      Parameters:
      nextToken - Pagination token. If specified, the events return the next batch of results.
      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

      public DescribeEventsRequest 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: