Class DescribeEventsRequest
- All Implemented Interfaces:
- SdkPojo,- ToCopyableBuilder<DescribeEventsRequest.Builder,- DescribeEventsRequest> 
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()final Integerduration()The number of minutes prior to the time of the request for which to retrieve events.final InstantendTime()The end of the time interval for which to retrieve events, specified in ISO 8601 format.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final Stringmarker()An optional parameter that specifies the starting point to return a set of response records.final IntegerThe maximum number of response records to return in each call.static Class<? extends DescribeEventsRequest.Builder> final StringThe identifier of the event source for which events will be returned.final SourceTypeThe event source to retrieve events for.final StringThe event source to retrieve events for.final InstantThe beginning of the time interval to retrieve events for, specified in ISO 8601 format.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequestoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
sourceIdentifierThe identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. - 
 Specify a cluster identifier when SourceType is cluster.
- 
 Specify a cluster security group name when SourceType is cluster-security-group.
- 
 Specify a cluster parameter group name when SourceType is cluster-parameter-group.
- 
 Specify a cluster snapshot identifier when SourceType is cluster-snapshot.
 - Returns:
- The identifier of the event source for which events will be returned. If this parameter is not specified,
         then all sources are included in the response.
         Constraints: If SourceIdentifier is supplied, SourceType must also be provided. - 
         Specify a cluster identifier when SourceType is cluster.
- 
         Specify a cluster security group name when SourceType is cluster-security-group.
- 
         Specify a cluster parameter group name when SourceType is cluster-parameter-group.
- 
         Specify a cluster snapshot identifier when SourceType is cluster-snapshot.
 
- 
         
 
- 
 
- 
sourceTypeThe event source to retrieve events for. If no value is specified, all events are returned. Constraints: If SourceType is supplied, SourceIdentifier must also be provided. - 
 Specify clusterwhen SourceIdentifier is a cluster identifier.
- 
 Specify cluster-security-groupwhen SourceIdentifier is a cluster security group name.
- 
 Specify cluster-parameter-groupwhen SourceIdentifier is a cluster parameter group name.
- 
 Specify cluster-snapshotwhen SourceIdentifier is a cluster snapshot identifier.
 If the service returns an enum value that is not available in the current SDK version, sourceTypewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The event source to retrieve events for. If no value is specified, all events are returned.
         Constraints: If SourceType is supplied, SourceIdentifier must also be provided. - 
         Specify clusterwhen SourceIdentifier is a cluster identifier.
- 
         Specify cluster-security-groupwhen SourceIdentifier is a cluster security group name.
- 
         Specify cluster-parameter-groupwhen SourceIdentifier is a cluster parameter group name.
- 
         Specify cluster-snapshotwhen SourceIdentifier is a cluster snapshot identifier.
 
- 
         
- See Also:
 
- 
 
- 
sourceTypeAsStringThe event source to retrieve events for. If no value is specified, all events are returned. Constraints: If SourceType is supplied, SourceIdentifier must also be provided. - 
 Specify clusterwhen SourceIdentifier is a cluster identifier.
- 
 Specify cluster-security-groupwhen SourceIdentifier is a cluster security group name.
- 
 Specify cluster-parameter-groupwhen SourceIdentifier is a cluster parameter group name.
- 
 Specify cluster-snapshotwhen SourceIdentifier is a cluster snapshot identifier.
 If the service returns an enum value that is not available in the current SDK version, sourceTypewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The event source to retrieve events for. If no value is specified, all events are returned.
         Constraints: If SourceType is supplied, SourceIdentifier must also be provided. - 
         Specify clusterwhen SourceIdentifier is a cluster identifier.
- 
         Specify cluster-security-groupwhen SourceIdentifier is a cluster security group name.
- 
         Specify cluster-parameter-groupwhen SourceIdentifier is a cluster parameter group name.
- 
         Specify cluster-snapshotwhen SourceIdentifier is a cluster snapshot identifier.
 
- 
         
- See Also:
 
- 
 
- 
startTimeThe beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z- Returns:
- The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more
         information about ISO 8601, go to the ISO8601 Wikipedia
         page. 
         Example: 2009-07-08T18:00Z
 
- 
endTimeThe end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z- Returns:
- The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more
         information about ISO 8601, go to the ISO8601 Wikipedia
         page. 
         Example: 2009-07-08T18:00Z
 
- 
durationThe number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned. Default: 60- Returns:
- The number of minutes prior to the time of the request for which to retrieve events. For example, if the
         request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after
         17:00 will be returned.
         Default: 60
 
- 
maxRecordsThe maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default: 100Constraints: minimum 20, maximum 100. - Returns:
- The maximum number of response records to return in each call. If the number of remaining response
         records exceeds the specified MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default: 100Constraints: minimum 20, maximum 100. 
 
- 
markerAn optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEvents request exceed the value specified in MaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.- Returns:
- An optional parameter that specifies the starting point to return a set of response records. When the
         results of a DescribeEvents request exceed the value specified in MaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<DescribeEventsRequest.Builder,- DescribeEventsRequest> 
- Specified by:
- toBuilderin class- RedshiftRequest
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCodepublic final int hashCode()- Overrides:
- hashCodein class- AwsRequest
 
- 
equals- Overrides:
- equalsin class- AwsRequest
 
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForFieldDescription copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. 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, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
- getValueForFieldin class- SdkRequest
- Parameters:
- fieldName- The name of the member to be retrieved.
- clazz- The class to cast the returned object to.
- Returns:
- Optional containing the casted return value
 
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-