@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachThingPrincipalRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the AttachThingPrincipal operation.
NOOP| Constructor and Description |
|---|
AttachThingPrincipalRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachThingPrincipalRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPrincipal()
The principal, such as a certificate or other credential.
|
String |
getThingName()
The name of the thing.
|
int |
hashCode() |
void |
setPrincipal(String principal)
The principal, such as a certificate or other credential.
|
void |
setThingName(String thingName)
The name of the thing.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachThingPrincipalRequest |
withPrincipal(String principal)
The principal, such as a certificate or other credential.
|
AttachThingPrincipalRequest |
withThingName(String thingName)
The name of the thing.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setThingName(String thingName)
The name of the thing.
thingName - The name of the thing.public String getThingName()
The name of the thing.
public AttachThingPrincipalRequest withThingName(String thingName)
The name of the thing.
thingName - The name of the thing.public void setPrincipal(String principal)
The principal, such as a certificate or other credential.
principal - The principal, such as a certificate or other credential.public String getPrincipal()
The principal, such as a certificate or other credential.
public AttachThingPrincipalRequest withPrincipal(String principal)
The principal, such as a certificate or other credential.
principal - The principal, such as a certificate or other credential.public String toString()
toString in class ObjectObject.toString()public AttachThingPrincipalRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.