Class ListReplaysRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest
-
- software.amazon.awssdk.services.eventbridge.model.ListReplaysRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListReplaysRequest.Builder,ListReplaysRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListReplaysRequest extends EventBridgeRequest implements ToCopyableBuilder<ListReplaysRequest.Builder,ListReplaysRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListReplaysRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListReplaysRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventSourceArn()The ARN of the archive from which the events are replayed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The maximum number of replays to retrieve.StringnamePrefix()A name prefix to filter the replays returned.StringnextToken()The token returned by a previous call to retrieve the next set of results.List<SdkField<?>>sdkFields()static Class<? extends ListReplaysRequest.Builder>serializableBuilderClass()ReplayStatestate()The state of the replay.StringstateAsString()The state of the replay.ListReplaysRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
namePrefix
public final String namePrefix()
A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.
- Returns:
- A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.
-
state
public final ReplayState state()
The state of the replay.
If the service returns an enum value that is not available in the current SDK version,
statewill returnReplayState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the replay.
- See Also:
ReplayState
-
stateAsString
public final String stateAsString()
The state of the replay.
If the service returns an enum value that is not available in the current SDK version,
statewill returnReplayState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the replay.
- See Also:
ReplayState
-
eventSourceArn
public final String eventSourceArn()
The ARN of the archive from which the events are replayed.
- Returns:
- The ARN of the archive from which the events are replayed.
-
nextToken
public final String nextToken()
The token returned by a previous call to retrieve the next set of results.
- Returns:
- The token returned by a previous call to retrieve the next set of results.
-
limit
public final Integer limit()
The maximum number of replays to retrieve.
- Returns:
- The maximum number of replays to retrieve.
-
toBuilder
public ListReplaysRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListReplaysRequest.Builder,ListReplaysRequest>- Specified by:
toBuilderin classEventBridgeRequest
-
builder
public static ListReplaysRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListReplaysRequest.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
-
-