@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the display name of an application and the tags to associate with the application.
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() |
boolean |
equals(Object obj) |
String |
getName()
The display name of the application.
|
Map<String,String> |
getTags()
A string-to-string map of key-value pairs that defines the tags to associate with the application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The display name of the application.
|
void |
setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the application.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withName(String name)
The display name of the application.
|
CreateApplicationRequest |
withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the application.
|
public void setName(String name)
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
name
- The display name of the application. This name is displayed as the Project name on the Amazon
Pinpoint console.public String getName()
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
public CreateApplicationRequest withName(String name)
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
name
- The display name of the application. This name is displayed as the Project name on the Amazon
Pinpoint console.public Map<String,String> getTags()
A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
public void setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
tags
- A string-to-string map of key-value pairs that defines the tags to associate with the application. Each
tag consists of a required tag key and an associated tag value.public CreateApplicationRequest withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
tags
- A string-to-string map of key-value pairs that defines the tags to associate with the application. Each
tag consists of a required tag key and an associated tag value.public CreateApplicationRequest addTagsEntry(String key, String value)
public CreateApplicationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.