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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeEventsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEventsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetApplicationName()If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.DategetEndTime()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime.StringgetEnvironmentId()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.StringgetEnvironmentName()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.IntegergetMaxRecords()Specifies the maximum number of events that can be returned, beginning with the most recent event.StringgetNextToken()Pagination token.StringgetRequestId()If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.StringgetSeverity()If specified, limits the events returned from this call to include only those with the specified severity or higher.DategetStartTime()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.StringgetTemplateName()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.StringgetVersionLabel()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.inthashCode()voidsetApplicationName(String applicationName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.voidsetEndTime(Date endTime)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime.voidsetEnvironmentId(String environmentId)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.voidsetEnvironmentName(String environmentName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.voidsetMaxRecords(Integer maxRecords)Specifies the maximum number of events that can be returned, beginning with the most recent event.voidsetNextToken(String nextToken)Pagination token.voidsetRequestId(String requestId)If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.voidsetSeverity(EventSeverity severity)If specified, limits the events returned from this call to include only those with the specified severity or higher.voidsetSeverity(String severity)If specified, limits the events returned from this call to include only those with the specified severity or higher.voidsetStartTime(Date startTime)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.voidsetTemplateName(String templateName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.voidsetVersionLabel(String versionLabel)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeEventsRequestwithApplicationName(String applicationName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.DescribeEventsRequestwithEndTime(Date endTime)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime.DescribeEventsRequestwithEnvironmentId(String environmentId)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.DescribeEventsRequestwithEnvironmentName(String environmentName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.DescribeEventsRequestwithMaxRecords(Integer maxRecords)Specifies the maximum number of events that can be returned, beginning with the most recent event.DescribeEventsRequestwithNextToken(String nextToken)Pagination token.DescribeEventsRequestwithRequestId(String requestId)If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.DescribeEventsRequestwithSeverity(EventSeverity severity)If specified, limits the events returned from this call to include only those with the specified severity or higher.DescribeEventsRequestwithSeverity(String severity)If specified, limits the events returned from this call to include only those with the specified severity or higher.DescribeEventsRequestwithStartTime(Date startTime)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.DescribeEventsRequestwithTemplateName(String templateName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.DescribeEventsRequestwithVersionLabel(String versionLabel)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.-
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
-
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:
EventSeverity
-
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:
EventSeverity
-
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:
EventSeverity
-
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:
EventSeverity
-
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:
EventSeverity
-
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, theEndTime.
-
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, theEndTime.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEventsRequest 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()
-
-