public class RegisterThingRequest extends AmazonWebServiceRequest implements java.io.Serializable
Provisions a thing in the device registry. RegisterThing calls other AWS IoT control plane APIs. These calls might exceed your account level AWS IoT Throttling Limits and cause throttle errors. Please contact AWS Customer Support to raise your throttling limits if necessary.
Constructor and Description |
---|
RegisterThingRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterThingRequest |
addparametersEntry(java.lang.String key,
java.lang.String value)
The parameters for provisioning a thing.
|
RegisterThingRequest |
clearparametersEntries()
Removes all the entries added into parameters.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
The parameters for provisioning a thing.
|
java.lang.String |
getTemplateBody()
The provisioning template.
|
int |
hashCode() |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
The parameters for provisioning a thing.
|
void |
setTemplateBody(java.lang.String templateBody)
The provisioning template.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterThingRequest |
withParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
The parameters for provisioning a thing.
|
RegisterThingRequest |
withTemplateBody(java.lang.String templateBody)
The provisioning template.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTemplateBody()
The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
public void setTemplateBody(java.lang.String templateBody)
The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
templateBody
- The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
public RegisterThingRequest withTemplateBody(java.lang.String templateBody)
The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
Returns a reference to this object so that method calls can be chained together.
templateBody
- The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
public java.util.Map<java.lang.String,java.lang.String> getParameters()
The parameters for provisioning a thing. See Provisioning Templates for more information.
The parameters for provisioning a thing. See Provisioning Templates for more information.
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
The parameters for provisioning a thing. See Provisioning Templates for more information.
parameters
- The parameters for provisioning a thing. See Provisioning Templates for more information.
public RegisterThingRequest withParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
The parameters for provisioning a thing. See Provisioning Templates for more information.
Returns a reference to this object so that method calls can be chained together.
parameters
- The parameters for provisioning a thing. See Provisioning Templates for more information.
public RegisterThingRequest addparametersEntry(java.lang.String key, java.lang.String value)
The parameters for provisioning a thing. See Provisioning Templates for more information.
The method adds a new key-value pair into parameters parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into parameters.value
- The corresponding value of the entry to be added into
parameters.public RegisterThingRequest clearparametersEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.