Class ListSchedulesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.scheduler.model.SchedulerRequest
-
- software.amazon.awssdk.services.scheduler.model.ListSchedulesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListSchedulesRequest.Builder,ListSchedulesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListSchedulesRequest extends SchedulerRequest implements ToCopyableBuilder<ListSchedulesRequest.Builder,ListSchedulesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListSchedulesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListSchedulesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()If specified, only lists the schedules whose associated schedule group matches the given filter.inthashCode()IntegermaxResults()If specified, limits the number of results returned by this operation.StringnamePrefix()Schedule name prefix to return the filtered list of resources.StringnextToken()The token returned by a previous call to retrieve the next set of results.List<SdkField<?>>sdkFields()static Class<? extends ListSchedulesRequest.Builder>serializableBuilderClass()ScheduleStatestate()If specified, only lists the schedules whose current state matches the given filter.StringstateAsString()If specified, only lists the schedules whose current state matches the given filter.ListSchedulesRequest.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
-
groupName
public final String groupName()
If specified, only lists the schedules whose associated schedule group matches the given filter.
- Returns:
- If specified, only lists the schedules whose associated schedule group matches the given filter.
-
maxResults
public final Integer maxResults()
If specified, limits the number of results returned by this operation. The operation also returns a
NextTokenwhich you can use in a subsequent operation to retrieve the next set of results.- Returns:
- If specified, limits the number of results returned by this operation. The operation also returns a
NextTokenwhich you can use in a subsequent operation to retrieve the next set of results.
-
namePrefix
public final String namePrefix()
Schedule name prefix to return the filtered list of resources.
- Returns:
- Schedule name prefix to return the filtered list of resources.
-
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.
-
state
public final ScheduleState state()
If specified, only lists the schedules whose current state matches the given filter.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScheduleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- If specified, only lists the schedules whose current state matches the given filter.
- See Also:
ScheduleState
-
stateAsString
public final String stateAsString()
If specified, only lists the schedules whose current state matches the given filter.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScheduleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- If specified, only lists the schedules whose current state matches the given filter.
- See Also:
ScheduleState
-
toBuilder
public ListSchedulesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListSchedulesRequest.Builder,ListSchedulesRequest>- Specified by:
toBuilderin classSchedulerRequest
-
builder
public static ListSchedulesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListSchedulesRequest.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
-
-