Class ModifySnapshotScheduleRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.ModifySnapshotScheduleRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ModifySnapshotScheduleRequest.Builder,ModifySnapshotScheduleRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifySnapshotScheduleRequest extends RedshiftRequest implements ToCopyableBuilder<ModifySnapshotScheduleRequest.Builder,ModifySnapshotScheduleRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModifySnapshotScheduleRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifySnapshotScheduleRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
boolean
hasScheduleDefinitions()
For responses, this returns true if the service returned a value for the ScheduleDefinitions property.List<String>
scheduleDefinitions()
An updated list of schedule definitions.String
scheduleIdentifier()
A unique alphanumeric identifier of the schedule to modify.List<SdkField<?>>
sdkFields()
static Class<? extends ModifySnapshotScheduleRequest.Builder>
serializableBuilderClass()
ModifySnapshotScheduleRequest.Builder
toBuilder()
String
toString()
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
-
scheduleIdentifier
public final String scheduleIdentifier()
A unique alphanumeric identifier of the schedule to modify.
- Returns:
- A unique alphanumeric identifier of the schedule to modify.
-
hasScheduleDefinitions
public final boolean hasScheduleDefinitions()
For responses, this returns true if the service returned a value for the ScheduleDefinitions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
scheduleDefinitions
public final List<String> scheduleDefinitions()
An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasScheduleDefinitions()
method.- Returns:
- An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
-
toBuilder
public ModifySnapshotScheduleRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModifySnapshotScheduleRequest.Builder,ModifySnapshotScheduleRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static ModifySnapshotScheduleRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifySnapshotScheduleRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-