@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateScheduleGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateScheduleGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateScheduleGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
String |
getName()
The name of the schedule group that you are creating.
|
List<Tag> |
getTags()
The list of tags to associate with the schedule group.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
void |
setName(String name)
The name of the schedule group that you are creating.
|
void |
setTags(Collection<Tag> tags)
The list of tags to associate with the schedule group.
|
String |
toString()
Returns a string representation of this object.
|
CreateScheduleGroupRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateScheduleGroupRequest |
withName(String name)
The name of the schedule group that you are creating.
|
CreateScheduleGroupRequest |
withTags(Collection<Tag> tags)
The list of tags to associate with the schedule group.
|
CreateScheduleGroupRequest |
withTags(Tag... tags)
The list of tags to associate with the schedule group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not
specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure
idempotency.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
public CreateScheduleGroupRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not
specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure
idempotency.public void setName(String name)
The name of the schedule group that you are creating.
name
- The name of the schedule group that you are creating.public String getName()
The name of the schedule group that you are creating.
public CreateScheduleGroupRequest withName(String name)
The name of the schedule group that you are creating.
name
- The name of the schedule group that you are creating.public List<Tag> getTags()
The list of tags to associate with the schedule group.
public void setTags(Collection<Tag> tags)
The list of tags to associate with the schedule group.
tags
- The list of tags to associate with the schedule group.public CreateScheduleGroupRequest withTags(Tag... tags)
The list of tags to associate with the schedule group.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags to associate with the schedule group.public CreateScheduleGroupRequest withTags(Collection<Tag> tags)
The list of tags to associate with the schedule group.
tags
- The list of tags to associate with the schedule group.public String toString()
toString
in class Object
Object.toString()
public CreateScheduleGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()