@Generated(value="software.amazon.awssdk:codegen") public final class Schedule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Schedule.Builder,Schedule>
Specifies a schedule.
Modifier and Type | Class and Description |
---|---|
static interface |
Schedule.Builder |
Modifier and Type | Method and Description |
---|---|
static Schedule.Builder |
builder() |
Boolean |
copyTags()
Returns the value of the CopyTags property for this object.
|
CreateRule |
createRule()
The create rule.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the schedule.
|
RetainRule |
retainRule()
The retain rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Schedule.Builder> |
serializableBuilderClass() |
List<Tag> |
tagsToAdd()
The tags to apply to policy-created resources.
|
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 name()
The name of the schedule.
public Boolean copyTags()
public List<Tag> tagsToAdd()
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateRule createRule()
The create rule.
public RetainRule retainRule()
The retain rule.
public Schedule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Schedule.Builder,Schedule>
public static Schedule.Builder builder()
public static Class<? extends Schedule.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.