@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEventTrackerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEventTrackerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEventTrackerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
|
String |
getName()
The name for the event tracker.
|
List<Tag> |
getTags()
A list of tags to apply to
the event tracker.
|
int |
hashCode() |
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
|
void |
setName(String name)
The name for the event tracker.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to
the event tracker.
|
String |
toString()
Returns a string representation of this object.
|
CreateEventTrackerRequest |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
|
CreateEventTrackerRequest |
withName(String name)
The name for the event tracker.
|
CreateEventTrackerRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to
the event tracker.
|
CreateEventTrackerRequest |
withTags(Tag... tags)
A list of tags to apply to
the event tracker.
|
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 setName(String name)
The name for the event tracker.
name
- The name for the event tracker.public String getName()
The name for the event tracker.
public CreateEventTrackerRequest withName(String name)
The name for the event tracker.
name
- The name for the event tracker.public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that receives the event data.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
public CreateEventTrackerRequest withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that receives the event data.public List<Tag> getTags()
A list of tags to apply to the event tracker.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the event tracker.
tags
- A list of tags to
apply to the event tracker.public CreateEventTrackerRequest withTags(Tag... tags)
A list of tags to apply to the event tracker.
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
- A list of tags to
apply to the event tracker.public CreateEventTrackerRequest withTags(Collection<Tag> tags)
A list of tags to apply to the event tracker.
tags
- A list of tags to
apply to the event tracker.public String toString()
toString
in class Object
Object.toString()
public CreateEventTrackerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()