@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Schedule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a schedule.
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
Schedule |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCopyTags() |
CreateRule |
getCreateRule()
The create rule.
|
String |
getName()
The name of the schedule.
|
RetainRule |
getRetainRule()
The retain rule.
|
List<Tag> |
getTagsToAdd()
The tags to apply to policy-created resources.
|
int |
hashCode() |
Boolean |
isCopyTags() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCopyTags(Boolean copyTags) |
void |
setCreateRule(CreateRule createRule)
The create rule.
|
void |
setName(String name)
The name of the schedule.
|
void |
setRetainRule(RetainRule retainRule)
The retain rule.
|
void |
setTagsToAdd(Collection<Tag> tagsToAdd)
The tags to apply to policy-created resources.
|
String |
toString()
Returns a string representation of this object.
|
Schedule |
withCopyTags(Boolean copyTags) |
Schedule |
withCreateRule(CreateRule createRule)
The create rule.
|
Schedule |
withName(String name)
The name of the schedule.
|
Schedule |
withRetainRule(RetainRule retainRule)
The retain rule.
|
Schedule |
withTagsToAdd(Collection<Tag> tagsToAdd)
The tags to apply to policy-created resources.
|
Schedule |
withTagsToAdd(Tag... tagsToAdd)
The tags to apply to policy-created resources.
|
public void setName(String name)
The name of the schedule.
name - The name of the schedule.public String getName()
The name of the schedule.
public Schedule withName(String name)
The name of the schedule.
name - The name of the schedule.public void setCopyTags(Boolean copyTags)
copyTags - public Boolean getCopyTags()
public Schedule withCopyTags(Boolean copyTags)
copyTags - public Boolean isCopyTags()
public List<Tag> getTagsToAdd()
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
public void setTagsToAdd(Collection<Tag> tagsToAdd)
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
tagsToAdd - The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added
lifecycle tags.public Schedule withTagsToAdd(Tag... tagsToAdd)
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagsToAdd(java.util.Collection) or withTagsToAdd(java.util.Collection) if you want to
override the existing values.
tagsToAdd - The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added
lifecycle tags.public Schedule withTagsToAdd(Collection<Tag> tagsToAdd)
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
tagsToAdd - The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added
lifecycle tags.public void setCreateRule(CreateRule createRule)
The create rule.
createRule - The create rule.public CreateRule getCreateRule()
The create rule.
public Schedule withCreateRule(CreateRule createRule)
The create rule.
createRule - The create rule.public void setRetainRule(RetainRule retainRule)
The retain rule.
retainRule - The retain rule.public RetainRule getRetainRule()
The retain rule.
public Schedule withRetainRule(RetainRule retainRule)
The retain rule.
retainRule - The retain rule.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.