@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.
Custom event bus names can't contain the /
character, but you can use the /
character
in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the
partner event source that this event bus is matched to.
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.
name
- The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match
the name of the partner event source that this event bus is matched to.
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.
public String getName()
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character
in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the
partner event source that this event bus is matched to.
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.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match
the name of the partner event source that this event bus is matched to.
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.
public CreateEventBusRequest withName(String name)
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character
in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the
partner event source that this event bus is matched to.
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.
name
- The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match
the name of the partner event source that this event bus is matched to.
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.
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()