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()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPrincipal()
The principal (certificate or other credential).
|
String |
getThingName()
The name of the thing.
|
int |
hashCode() |
void |
setPrincipal(String principal)
The principal (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 (certificate or other credential).
|
AttachThingPrincipalRequest |
withThingName(String thingName)
The name of the thing.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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 (certificate or other credential).
principal - The principal (certificate or other credential).public String getPrincipal()
The principal (certificate or other credential).
public AttachThingPrincipalRequest withPrincipal(String principal)
The principal (certificate or other credential).
principal - The principal (certificate or other credential).public String toString()
toString in class ObjectObject.toString()public AttachThingPrincipalRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.