@Generated(value="software.amazon.awssdk:codegen") public final class CreateSnapshotScheduleRequest extends RedshiftRequest implements ToCopyableBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateSnapshotScheduleRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateSnapshotScheduleRequest.Builder |
builder() |
Boolean |
dryRun()
Returns the value of the DryRun property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
nextInvocations()
Returns the value of the NextInvocations property for this object.
|
List<String> |
scheduleDefinitions()
The definition of the snapshot schedule.
|
String |
scheduleDescription()
The description of the snapshot schedule.
|
String |
scheduleIdentifier()
A unique identifier for a snapshot schedule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSnapshotScheduleRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Returns the value of the Tags property for this object.
|
CreateSnapshotScheduleRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<String> scheduleDefinitions()
The definition of the snapshot schedule. The 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.
public String scheduleIdentifier()
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
public String scheduleDescription()
The description of the snapshot schedule.
public List<Tag> tags()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean dryRun()
public Integer nextInvocations()
public CreateSnapshotScheduleRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>
toBuilder
in class RedshiftRequest
public static CreateSnapshotScheduleRequest.Builder builder()
public static Class<? extends CreateSnapshotScheduleRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.