@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) |
String |
getApplicationDescription()
An optional description of the web application.
|
String |
getApplicationName()
The name of the web application.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getRoleArn()
The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
|
Map<String,String> |
getTags()
A set of key/value pairs that you can use to manage the web application resource.
|
int |
hashCode() |
void |
setApplicationDescription(String applicationDescription)
An optional description of the web application.
|
void |
setApplicationName(String applicationName)
The name of the web application.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setRoleArn(String roleArn)
The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
|
void |
setTags(Map<String,String> tags)
A set of key/value pairs that you can use to manage the web application resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withApplicationDescription(String applicationDescription)
An optional description of the web application.
|
CreateApplicationRequest |
withApplicationName(String applicationName)
The name of the web application.
|
CreateApplicationRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
CreateApplicationRequest |
withRoleArn(String roleArn)
The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
|
CreateApplicationRequest |
withTags(Map<String,String> tags)
A set of key/value pairs that you can use to manage the web application 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 setApplicationName(String applicationName)
The name of the web application.
applicationName
- The name of the web application.public String getApplicationName()
The name of the web application.
public CreateApplicationRequest withApplicationName(String applicationName)
The name of the web application.
applicationName
- The name of the web application.public void setApplicationDescription(String applicationDescription)
An optional description of the web application.
applicationDescription
- An optional description of the web application.public String getApplicationDescription()
An optional description of the web application.
public CreateApplicationRequest withApplicationDescription(String applicationDescription)
An optional description of the web application.
applicationDescription
- An optional description of the web application.public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public CreateApplicationRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public void setRoleArn(String roleArn)
The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
The name of the role must be in the form AWSIotFleetHub_random_string
.
roleArn
- The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT
Core.
The name of the role must be in the form AWSIotFleetHub_random_string
.
public String getRoleArn()
The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
The name of the role must be in the form AWSIotFleetHub_random_string
.
The name of the role must be in the form AWSIotFleetHub_random_string
.
public CreateApplicationRequest withRoleArn(String roleArn)
The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
The name of the role must be in the form AWSIotFleetHub_random_string
.
roleArn
- The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT
Core.
The name of the role must be in the form AWSIotFleetHub_random_string
.
public Map<String,String> getTags()
A set of key/value pairs that you can use to manage the web application resource.
public void setTags(Map<String,String> tags)
A set of key/value pairs that you can use to manage the web application resource.
tags
- A set of key/value pairs that you can use to manage the web application resource.public CreateApplicationRequest withTags(Map<String,String> tags)
A set of key/value pairs that you can use to manage the web application resource.
tags
- A set of key/value pairs that you can use to manage the web application resource.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()