public class DescribeEventsRequest extends AmazonWebServiceRequest implements java.io.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.
| コンストラクタと説明 |
|---|
DescribeEventsRequest()
Default constructor for a new DescribeEventsRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeEventsRequest()
public java.lang.String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(java.lang.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(java.lang.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 java.lang.String getVersionLabel()
Constraints:
Length: 1 - 100
public void setVersionLabel(java.lang.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(java.lang.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 java.lang.String getTemplateName()
Constraints:
Length: 1 - 100
public void setTemplateName(java.lang.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(java.lang.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 java.lang.String getEnvironmentId()
public void setEnvironmentId(java.lang.String environmentId)
environmentId - If specified, AWS Elastic Beanstalk restricts the returned
descriptions to those associated with this environment.public DescribeEventsRequest withEnvironmentId(java.lang.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 java.lang.String getEnvironmentName()
Constraints:
Length: 4 - 23
public void setEnvironmentName(java.lang.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(java.lang.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 java.lang.String getRequestId()
public void setRequestId(java.lang.String requestId)
requestId - 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)
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 java.lang.String getSeverity()
Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
EventSeveritypublic void setSeverity(java.lang.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.EventSeveritypublic DescribeEventsRequest withSeverity(java.lang.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.EventSeveritypublic 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.EventSeveritypublic 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.EventSeveritypublic java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - 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)
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 java.util.Date getEndTime()
EndTime.EndTime.public void setEndTime(java.util.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(java.util.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 java.lang.Integer getMaxRecords()
Constraints:
Range: 1 - 1000
public void setMaxRecords(java.lang.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(java.lang.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken - Pagination token. If specified, the events return the next batch of
results.public DescribeEventsRequest withNextToken(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object