public class DescribeEventsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to retrieve a list of events for an environment.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to include only those associated with this application.
|
private java.util.Date |
endTime
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the
EndTime . |
private java.lang.String |
environmentId
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
private java.lang.String |
environmentName
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
private java.lang.Integer |
maxRecords
Specifies the maximum number of events that can be returned, beginning
with the most recent event.
|
private java.lang.String |
nextToken
Pagination token.
|
private java.lang.String |
requestId
If specified, AWS Elastic Beanstalk restricts the described events to
include only those associated with this request ID.
|
private java.lang.String |
severity
If specified, limits the events returned from this call to include only
those with the specified severity or higher.
|
private java.util.Date |
startTime
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur on or after this time.
|
private java.lang.String |
templateName
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that are associated with this environment configuration.
|
private java.lang.String |
versionLabel
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this application version.
|
NOOP
Constructor and Description |
---|
DescribeEventsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to include only those associated with this application.
|
java.util.Date |
getEndTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the
EndTime . |
java.lang.String |
getEnvironmentId()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
java.lang.String |
getEnvironmentName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
java.lang.Integer |
getMaxRecords()
Specifies the maximum number of events that can be returned, beginning
with the most recent event.
|
java.lang.String |
getNextToken()
Pagination token.
|
java.lang.String |
getRequestId()
If specified, AWS Elastic Beanstalk restricts the described events to
include only those associated with this request ID.
|
java.lang.String |
getSeverity()
If specified, limits the events returned from this call to include only
those with the specified severity or higher.
|
java.util.Date |
getStartTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur on or after this time.
|
java.lang.String |
getTemplateName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that are associated with this environment configuration.
|
java.lang.String |
getVersionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this application version.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to include only those associated with this application.
|
void |
setEndTime(java.util.Date endTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the
EndTime . |
void |
setEnvironmentId(java.lang.String environmentId)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
void |
setEnvironmentName(java.lang.String environmentName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
Specifies the maximum number of events that can be returned, beginning
with the most recent event.
|
void |
setNextToken(java.lang.String nextToken)
Pagination token.
|
void |
setRequestId(java.lang.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(java.lang.String severity)
If specified, limits the events returned from this call to include only
those with the specified severity or higher.
|
void |
setStartTime(java.util.Date startTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur on or after this time.
|
void |
setTemplateName(java.lang.String templateName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that are associated with this environment configuration.
|
void |
setVersionLabel(java.lang.String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this application version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventsRequest |
withApplicationName(java.lang.String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to include only those associated with this application.
|
DescribeEventsRequest |
withEndTime(java.util.Date endTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the
EndTime . |
DescribeEventsRequest |
withEnvironmentId(java.lang.String environmentId)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
DescribeEventsRequest |
withEnvironmentName(java.lang.String environmentName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
|
DescribeEventsRequest |
withMaxRecords(java.lang.Integer maxRecords)
Specifies the maximum number of events that can be returned, beginning
with the most recent event.
|
DescribeEventsRequest |
withNextToken(java.lang.String nextToken)
Pagination token.
|
DescribeEventsRequest |
withRequestId(java.lang.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(java.lang.String severity)
If specified, limits the events returned from this call to include only
those with the specified severity or higher.
|
DescribeEventsRequest |
withStartTime(java.util.Date startTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur on or after this time.
|
DescribeEventsRequest |
withTemplateName(java.lang.String templateName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that are associated with this environment configuration.
|
DescribeEventsRequest |
withVersionLabel(java.lang.String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this application version.
|
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
private java.lang.String applicationName
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
private java.lang.String versionLabel
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
private java.lang.String templateName
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
private java.lang.String environmentId
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
private java.lang.String environmentName
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
private java.lang.String requestId
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
private java.lang.String severity
If specified, limits the events returned from this call to include only those with the specified severity or higher.
private java.util.Date startTime
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
private java.util.Date endTime
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the EndTime
.
private java.lang.Integer maxRecords
Specifies the maximum number of events that can be returned, beginning with the most recent event.
private java.lang.String nextToken
Pagination token. If specified, the events return the next batch of results.
public void setApplicationName(java.lang.String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
applicationName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to include only those associated with this
application.public java.lang.String getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
public DescribeEventsRequest withApplicationName(java.lang.String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
applicationName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to include only those associated with this
application.public void setVersionLabel(java.lang.String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
versionLabel
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this application version.public java.lang.String getVersionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
public DescribeEventsRequest withVersionLabel(java.lang.String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
versionLabel
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this application version.public void setTemplateName(java.lang.String templateName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
templateName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that are associated with this environment
configuration.public java.lang.String getTemplateName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
public DescribeEventsRequest withTemplateName(java.lang.String templateName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
templateName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that are associated with this environment
configuration.public void setEnvironmentId(java.lang.String environmentId)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
environmentId
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public java.lang.String getEnvironmentId()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
public DescribeEventsRequest withEnvironmentId(java.lang.String environmentId)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
environmentId
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public void setEnvironmentName(java.lang.String environmentName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
environmentName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public java.lang.String getEnvironmentName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
public DescribeEventsRequest withEnvironmentName(java.lang.String environmentName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
environmentName
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public void setRequestId(java.lang.String requestId)
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
requestId
- If specified, AWS Elastic Beanstalk restricts the described events
to include only those associated with this request ID.public java.lang.String getRequestId()
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
public DescribeEventsRequest withRequestId(java.lang.String requestId)
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
requestId
- If specified, AWS Elastic Beanstalk restricts the described events
to include only those associated with this request ID.public void setSeverity(java.lang.String severity)
If specified, limits the events returned from this call to include only those with the specified severity or higher.
severity
- If specified, limits the events returned from this call to include
only those with the specified severity or higher.EventSeverity
public java.lang.String getSeverity()
If specified, limits the events returned from this call to include only those with the specified severity or higher.
EventSeverity
public DescribeEventsRequest withSeverity(java.lang.String severity)
If specified, limits the events returned from this call to include only those with the specified severity or higher.
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)
If specified, limits the events returned from this call to include only those with the specified severity or higher.
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)
If specified, limits the events returned from this call to include only those with the specified severity or higher.
severity
- If specified, limits the events returned from this call to include
only those with the specified severity or higher.EventSeverity
public void setStartTime(java.util.Date startTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
startTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur on or after this time.public java.util.Date getStartTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
public DescribeEventsRequest withStartTime(java.util.Date startTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
startTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur on or after this time.public void setEndTime(java.util.Date endTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the EndTime
.
endTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur up to, but not including, the
EndTime
.public java.util.Date getEndTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the EndTime
.
EndTime
.public DescribeEventsRequest withEndTime(java.util.Date endTime)
If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the EndTime
.
endTime
- If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those that occur up to, but not including, the
EndTime
.public void setMaxRecords(java.lang.Integer maxRecords)
Specifies the maximum number of events that can be returned, beginning with the most recent event.
maxRecords
- Specifies the maximum number of events that can be returned,
beginning with the most recent event.public java.lang.Integer getMaxRecords()
Specifies the maximum number of events that can be returned, beginning with the most recent event.
public DescribeEventsRequest withMaxRecords(java.lang.Integer maxRecords)
Specifies the maximum number of events that can be returned, beginning with the most recent event.
maxRecords
- Specifies the maximum number of events that can be returned,
beginning with the most recent event.public void setNextToken(java.lang.String nextToken)
Pagination token. If specified, the events return the next batch of results.
nextToken
- Pagination token. If specified, the events return the next batch
of results.public java.lang.String getNextToken()
Pagination token. If specified, the events return the next batch of results.
public DescribeEventsRequest withNextToken(java.lang.String nextToken)
Pagination token. If specified, the events return the next batch of results.
nextToken
- Pagination token. If specified, the events return the next batch
of results.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()