@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEventBusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEventBusRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEventBusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventSourceName()
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be
matched with.
|
String |
getName()
The name of the new event bus.
|
List<Tag> |
getTags()
Tags to associate with the event bus.
|
int |
hashCode() |
void |
setEventSourceName(String eventSourceName)
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be
matched with.
|
void |
setName(String name)
The name of the new event bus.
|
void |
setTags(Collection<Tag> tags)
Tags to associate with the event bus.
|
String |
toString()
Returns a string representation of this object.
|
CreateEventBusRequest |
withEventSourceName(String eventSourceName)
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be
matched with.
|
CreateEventBusRequest |
withName(String name)
The name of the new event bus.
|
CreateEventBusRequest |
withTags(Collection<Tag> tags)
Tags to associate with the event bus.
|
CreateEventBusRequest |
withTags(Tag... tags)
Tags to associate with the event bus.
|
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 of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom event
bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
name
- The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom
event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
public String getName()
The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom event
bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
Event bus names cannot contain the / character. You can't use the name default
for a custom
event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
public CreateEventBusRequest withName(String name)
The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom event
bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
name
- The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom
event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
public void setEventSourceName(String eventSourceName)
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
eventSourceName
- If you are creating a partner event bus, this specifies the partner event source that the new event bus
will be matched with.public String getEventSourceName()
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
public CreateEventBusRequest withEventSourceName(String eventSourceName)
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
eventSourceName
- If you are creating a partner event bus, this specifies the partner event source that the new event bus
will be matched with.public List<Tag> getTags()
Tags to associate with the event bus.
public void setTags(Collection<Tag> tags)
Tags to associate with the event bus.
tags
- Tags to associate with the event bus.public CreateEventBusRequest withTags(Tag... tags)
Tags to associate with the event bus.
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
- Tags to associate with the event bus.public CreateEventBusRequest withTags(Collection<Tag> tags)
Tags to associate with the event bus.
tags
- Tags to associate with the event bus.public String toString()
toString
in class Object
Object.toString()
public CreateEventBusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()