public class DescribeEventsRequest extends AmazonWebServiceRequest implements Serializable
DescribeEvents operation
.
Returns list of event descriptions matching criteria up to the last 6 weeks.
NOTE: This action returns the most recent 1,000 events from the specified NextToken.
NOOP
Constructor and Description |
---|
DescribeEventsRequest()
Default constructor for a new DescribeEventsRequest object.
|
Modifier and Type | Method and Description |
---|---|
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, the
EndTime . |
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, the
EndTime . |
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, the
EndTime . |
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeEventsRequest()
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to include only those associated with this application.public DescribeEventsRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to include only those associated with this application.public String getVersionLabel()
Constraints:
Length: 1 - 100
public void setVersionLabel(String versionLabel)
Constraints:
Length: 1 - 100
versionLabel
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this application version.public DescribeEventsRequest withVersionLabel(String versionLabel)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
versionLabel
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this application version.public String getTemplateName()
Constraints:
Length: 1 - 100
public void setTemplateName(String templateName)
Constraints:
Length: 1 - 100
templateName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that are associated with this environment
configuration.public DescribeEventsRequest withTemplateName(String templateName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
templateName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that are associated with this environment
configuration.public String getEnvironmentId()
public void setEnvironmentId(String environmentId)
environmentId
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public DescribeEventsRequest withEnvironmentId(String environmentId)
Returns a reference to this object so that method calls can be chained together.
environmentId
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public String getEnvironmentName()
Constraints:
Length: 4 - 23
public void setEnvironmentName(String environmentName)
Constraints:
Length: 4 - 23
environmentName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public DescribeEventsRequest withEnvironmentName(String environmentName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
environmentName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public String getRequestId()
public void setRequestId(String requestId)
requestId
- If specified, AWS Elastic Beanstalk restricts the described events to
include only those associated with this request ID.public DescribeEventsRequest withRequestId(String requestId)
Returns a reference to this object so that method calls can be chained together.
requestId
- If specified, AWS Elastic Beanstalk restricts the described events to
include only those associated with this request ID.public String getSeverity()
Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
EventSeverity
public void setSeverity(String severity)
Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity
- If specified, limits the events returned from this call to include
only those with the specified severity or higher.EventSeverity
public DescribeEventsRequest withSeverity(String severity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity
- If specified, limits the events returned from this call to include
only those with the specified severity or higher.EventSeverity
public void setSeverity(EventSeverity severity)
Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity
- If specified, limits the events returned from this call to include
only those with the specified severity or higher.EventSeverity
public DescribeEventsRequest withSeverity(EventSeverity severity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity
- If specified, limits the events returned from this call to include
only those with the specified severity or higher.EventSeverity
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur on or after this time.public DescribeEventsRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur on or after this time.public Date getEndTime()
EndTime
.EndTime
.public void setEndTime(Date endTime)
EndTime
.endTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur up to, but not including, the
EndTime
.public DescribeEventsRequest withEndTime(Date endTime)
EndTime
.
Returns a reference to this object so that method calls can be chained together.
endTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur up to, but not including, the
EndTime
.public Integer getMaxRecords()
Constraints:
Range: 1 - 1000
public void setMaxRecords(Integer maxRecords)
Constraints:
Range: 1 - 1000
maxRecords
- Specifies the maximum number of events that can be returned, beginning
with the most recent event.public DescribeEventsRequest withMaxRecords(Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
maxRecords
- Specifies the maximum number of events that can be returned, beginning
with the most recent event.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- Pagination token. If specified, the events return the next batch of
results.public DescribeEventsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- Pagination token. If specified, the events return the next batch of
results.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.