@Generated(value="software.amazon.awssdk:codegen") public final class Schedule extends Object implements StructuredPojo, ToCopyableBuilder<Schedule.Builder,Schedule>
Modifier and Type | Class and Description |
---|---|
static interface |
Schedule.Builder |
Modifier and Type | Method and Description |
---|---|
static Schedule.Builder |
builder() |
String |
endTime()
The scheduled time that the campaign ends in ISO 8601 format.
|
boolean |
equals(Object obj) |
Frequency |
frequency()
How often the campaign delivers messages.
|
String |
frequencyAsString()
How often the campaign delivers messages.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isLocalTime()
Indicates whether the campaign schedule takes effect according to each user's local time.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
QuietTime |
quietTime()
The time during which the campaign sends no messages.
|
static Class<? extends Schedule.Builder> |
serializableBuilderClass() |
String |
startTime()
The scheduled time that the campaign begins in ISO 8601 format.
|
String |
timezone()
The starting UTC offset for the schedule if the value for isLocalTime is true
Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30
UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07
UTC-08 UTC-09 UTC-10 UTC-11
|
Schedule.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String endTime()
public Frequency frequency()
If the service returns an enum value that is not available in the current SDK version, frequency
will
return Frequency.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
frequencyAsString()
.
Frequency
public String frequencyAsString()
If the service returns an enum value that is not available in the current SDK version, frequency
will
return Frequency.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
frequencyAsString()
.
Frequency
public Boolean isLocalTime()
public QuietTime quietTime()
public String startTime()
public String timezone()
public Schedule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Schedule.Builder,Schedule>
public static Schedule.Builder builder()
public static Class<? extends Schedule.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.