@Generated(value="software.amazon.awssdk:codegen") public final class DescribeEventsRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
Request to retrieve a list of events for an environment.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeEventsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with
this application.
|
static DescribeEventsRequest.Builder |
builder() |
Instant |
endTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not
including, the
EndTime . |
String |
environmentId()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this
environment.
|
String |
environmentName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this
environment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxRecords()
Specifies the maximum number of events that can be returned, beginning with the most recent event.
|
String |
nextToken()
Pagination token.
|
String |
platformArn()
The ARN of the version of the custom platform.
|
String |
requestId()
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this
request ID.
|
static Class<? extends DescribeEventsRequest.Builder> |
serializableBuilderClass() |
EventSeverity |
severity()
If specified, limits the events returned from this call to include only those with the specified severity or
higher.
|
String |
severityAsString()
If specified, limits the events returned from this call to include only those with the specified severity or
higher.
|
Instant |
startTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this
time.
|
String |
templateName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this
environment configuration.
|
DescribeEventsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
versionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application
version.
|
overrideConfiguration
copy
public String applicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
public String versionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
public String templateName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
public String environmentId()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
public String environmentName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
public String platformArn()
The ARN of the version of the custom platform.
public String requestId()
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
public EventSeverity severity()
If specified, limits the events returned from this call to include only those with the specified severity or higher.
If the service returns an enum value that is not available in the current SDK version, severity
will
return EventSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
severityAsString()
.
EventSeverity
public String severityAsString()
If specified, limits the events returned from this call to include only those with the specified severity or higher.
If the service returns an enum value that is not available in the current SDK version, severity
will
return EventSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
severityAsString()
.
EventSeverity
public Instant startTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
public Instant endTime()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not
including, the EndTime
.
EndTime
.public Integer maxRecords()
Specifies the maximum number of events that can be returned, beginning with the most recent event.
public String nextToken()
Pagination token. If specified, the events return the next batch of results.
public DescribeEventsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
toBuilder
in class ElasticBeanstalkRequest
public static DescribeEventsRequest.Builder builder()
public static Class<? extends DescribeEventsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.