Class DescribeEventsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest
-
- software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
@Generated("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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeEventsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationName()If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.static DescribeEventsRequest.Builderbuilder()InstantendTime()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, theEndTime.StringenvironmentId()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.StringenvironmentName()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxRecords()Specifies the maximum number of events that can be returned, beginning with the most recent event.StringnextToken()Pagination token.StringplatformArn()The ARN of a custom platform version.StringrequestId()If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.List<SdkField<?>>sdkFields()static Class<? extends DescribeEventsRequest.Builder>serializableBuilderClass()EventSeverityseverity()If specified, limits the events returned from this call to include only those with the specified severity or higher.StringseverityAsString()If specified, limits the events returned from this call to include only those with the specified severity or higher.InstantstartTime()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.StringtemplateName()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.DescribeEventsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionLabel()If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationName
public final String applicationName()
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.
-
versionLabel
public final String versionLabel()
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.
-
templateName
public final String templateName()
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.
-
environmentId
public final String environmentId()
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.
-
environmentName
public final String environmentName()
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.
-
platformArn
public final String platformArn()
The ARN of a custom platform version. If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
- Returns:
- The ARN of a custom platform version. If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
-
requestId
public final String requestId()
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.
-
severity
public final 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,
severitywill returnEventSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- If specified, limits the events returned from this call to include only those with the specified severity or higher.
- See Also:
EventSeverity
-
severityAsString
public final 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,
severitywill returnEventSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- If specified, limits the events returned from this call to include only those with the specified severity or higher.
- See Also:
EventSeverity
-
startTime
public final Instant startTime()
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.
-
endTime
public final Instant endTime()
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.
-
maxRecords
public final Integer maxRecords()
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.
-
nextToken
public final String nextToken()
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.
-
toBuilder
public DescribeEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>- Specified by:
toBuilderin classElasticBeanstalkRequest
-
builder
public static DescribeEventsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeEventsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-