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 DescribeEventsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.Date
getEndTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime
.String
getEnvironmentId()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.String
getEnvironmentName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.Integer
getMaxRecords()
Specifies the maximum number of events that can be returned, beginning with the most recent event.String
getNextToken()
Pagination token.String
getRequestId()
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.String
getSeverity()
If specified, limits the events returned from this call to include only those with the specified severity or higher.Date
getStartTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.String
getTemplateName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.String
getVersionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.int
hashCode()
void
setApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.void
setEndTime(Date endTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime
.void
setEnvironmentId(String environmentId)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.void
setEnvironmentName(String environmentName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.void
setMaxRecords(Integer maxRecords)
Specifies the maximum number of events that can be returned, beginning with the most recent event.void
setNextToken(String nextToken)
Pagination token.void
setRequestId(String requestId)
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.void
setSeverity(EventSeverity severity)
If specified, limits the events returned from this call to include only those with the specified severity or higher.void
setSeverity(String severity)
If specified, limits the events returned from this call to include only those with the specified severity or higher.void
setStartTime(Date startTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.void
setTemplateName(String templateName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.void
setVersionLabel(String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeEventsRequest
withApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.DescribeEventsRequest
withEndTime(Date endTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime
.DescribeEventsRequest
withEnvironmentId(String environmentId)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.DescribeEventsRequest
withEnvironmentName(String environmentName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.DescribeEventsRequest
withMaxRecords(Integer maxRecords)
Specifies the maximum number of events that can be returned, beginning with the most recent event.DescribeEventsRequest
withNextToken(String nextToken)
Pagination token.DescribeEventsRequest
withRequestId(String requestId)
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.DescribeEventsRequest
withSeverity(EventSeverity severity)
If specified, limits the events returned from this call to include only those with the specified severity or higher.DescribeEventsRequest
withSeverity(String severity)
If specified, limits the events returned from this call to include only those with the specified severity or higher.DescribeEventsRequest
withStartTime(Date startTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.DescribeEventsRequest
withTemplateName(String templateName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.DescribeEventsRequest
withVersionLabel(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-