@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateApplicationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ApplicationSourceConfig |
getApplicationSourceConfig()
The configuration for where the application should be loaded from.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
The description of the application.
|
String |
getName()
The name of the application.
|
String |
getNamespace()
The namespace of the application.
|
List<Publication> |
getPublications()
The events that the application publishes.
|
List<Subscription> |
getSubscriptions()
The events that the application subscribes.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setApplicationSourceConfig(ApplicationSourceConfig applicationSourceConfig)
The configuration for where the application should be loaded from.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description of the application.
|
void |
setName(String name)
The name of the application.
|
void |
setNamespace(String namespace)
The namespace of the application.
|
void |
setPublications(Collection<Publication> publications)
The events that the application publishes.
|
void |
setSubscriptions(Collection<Subscription> subscriptions)
The events that the application subscribes.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withApplicationSourceConfig(ApplicationSourceConfig applicationSourceConfig)
The configuration for where the application should be loaded from.
|
CreateApplicationRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateApplicationRequest |
withDescription(String description)
The description of the application.
|
CreateApplicationRequest |
withName(String name)
The name of the application.
|
CreateApplicationRequest |
withNamespace(String namespace)
The namespace of the application.
|
CreateApplicationRequest |
withPublications(Collection<Publication> publications)
The events that the application publishes.
|
CreateApplicationRequest |
withPublications(Publication... publications)
The events that the application publishes.
|
CreateApplicationRequest |
withSubscriptions(Collection<Subscription> subscriptions)
The events that the application subscribes.
|
CreateApplicationRequest |
withSubscriptions(Subscription... subscriptions)
The events that the application subscribes.
|
CreateApplicationRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
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 application.
name
- The name of the application.public String getName()
The name of the application.
public CreateApplicationRequest withName(String name)
The name of the application.
name
- The name of the application.public void setNamespace(String namespace)
The namespace of the application.
namespace
- The namespace of the application.public String getNamespace()
The namespace of the application.
public CreateApplicationRequest withNamespace(String namespace)
The namespace of the application.
namespace
- The namespace of the application.public void setDescription(String description)
The description of the application.
description
- The description of the application.public String getDescription()
The description of the application.
public CreateApplicationRequest withDescription(String description)
The description of the application.
description
- The description of the application.public void setApplicationSourceConfig(ApplicationSourceConfig applicationSourceConfig)
The configuration for where the application should be loaded from.
applicationSourceConfig
- The configuration for where the application should be loaded from.public ApplicationSourceConfig getApplicationSourceConfig()
The configuration for where the application should be loaded from.
public CreateApplicationRequest withApplicationSourceConfig(ApplicationSourceConfig applicationSourceConfig)
The configuration for where the application should be loaded from.
applicationSourceConfig
- The configuration for where the application should be loaded from.public List<Subscription> getSubscriptions()
The events that the application subscribes.
public void setSubscriptions(Collection<Subscription> subscriptions)
The events that the application subscribes.
subscriptions
- The events that the application subscribes.public CreateApplicationRequest withSubscriptions(Subscription... subscriptions)
The events that the application subscribes.
NOTE: This method appends the values to the existing list (if any). Use
setSubscriptions(java.util.Collection)
or withSubscriptions(java.util.Collection)
if you want
to override the existing values.
subscriptions
- The events that the application subscribes.public CreateApplicationRequest withSubscriptions(Collection<Subscription> subscriptions)
The events that the application subscribes.
subscriptions
- The events that the application subscribes.public List<Publication> getPublications()
The events that the application publishes.
public void setPublications(Collection<Publication> publications)
The events that the application publishes.
publications
- The events that the application publishes.public CreateApplicationRequest withPublications(Publication... publications)
The events that the application publishes.
NOTE: This method appends the values to the existing list (if any). Use
setPublications(java.util.Collection)
or withPublications(java.util.Collection)
if you want to
override the existing values.
publications
- The events that the application publishes.public CreateApplicationRequest withPublications(Collection<Publication> publications)
The events that the application publishes.
publications
- The events that the application publishes.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public CreateApplicationRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public CreateApplicationRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public CreateApplicationRequest addTagsEntry(String key, String value)
public CreateApplicationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()