public class GetEffectivePoliciesRequest extends AmazonWebServiceRequest implements Serializable
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.
| Constructor and Description |
|---|
GetEffectivePoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCognitoIdentityPoolId()
The Cognito identity pool ID.
|
String |
getPrincipal()
The principal.
|
String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setCognitoIdentityPoolId(String cognitoIdentityPoolId)
The Cognito identity pool ID.
|
void |
setPrincipal(String principal)
The principal.
|
void |
setThingName(String thingName)
The thing name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetEffectivePoliciesRequest |
withCognitoIdentityPoolId(String cognitoIdentityPoolId)
The Cognito identity pool ID.
|
GetEffectivePoliciesRequest |
withPrincipal(String principal)
The principal.
|
GetEffectivePoliciesRequest |
withThingName(String thingName)
The thing name.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPrincipal()
The principal.
The principal.
public void setPrincipal(String principal)
The principal.
principal - The principal.
public GetEffectivePoliciesRequest withPrincipal(String principal)
The principal.
Returns a reference to this object so that method calls can be chained together.
principal - The principal.
public String getCognitoIdentityPoolId()
The Cognito identity pool ID.
The Cognito identity pool ID.
public void setCognitoIdentityPoolId(String cognitoIdentityPoolId)
The Cognito identity pool ID.
cognitoIdentityPoolId - The Cognito identity pool ID.
public GetEffectivePoliciesRequest withCognitoIdentityPoolId(String cognitoIdentityPoolId)
The Cognito identity pool ID.
Returns a reference to this object so that method calls can be chained together.
cognitoIdentityPoolId - The Cognito identity pool ID.
public String getThingName()
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The thing name.
public void setThingName(String thingName)
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The thing name.
public GetEffectivePoliciesRequest withThingName(String thingName)
The thing name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The thing name.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.