public class GetEffectivePoliciesRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getCognitoIdentityPoolId()
The Cognito identity pool ID.
|
java.lang.String |
getPrincipal()
The principal.
|
java.lang.String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The Cognito identity pool ID.
|
void |
setPrincipal(java.lang.String principal)
The principal.
|
void |
setThingName(java.lang.String thingName)
The thing name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetEffectivePoliciesRequest |
withCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The Cognito identity pool ID.
|
GetEffectivePoliciesRequest |
withPrincipal(java.lang.String principal)
The principal.
|
GetEffectivePoliciesRequest |
withThingName(java.lang.String thingName)
The thing name.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getPrincipal()
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup /groupName) and CognitoId (region:id).
public void setPrincipal(java.lang.String principal)
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
principal
- The principal. Valid principals are CertificateArn (arn:aws:iot :region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup /groupName) and CognitoId (region:id).
public GetEffectivePoliciesRequest withPrincipal(java.lang.String principal)
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
Returns a reference to this object so that method calls can be chained together.
principal
- The principal. Valid principals are CertificateArn (arn:aws:iot :region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup /groupName) and CognitoId (region:id).
public java.lang.String getCognitoIdentityPoolId()
The Cognito identity pool ID.
The Cognito identity pool ID.
public void setCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The Cognito identity pool ID.
cognitoIdentityPoolId
- The Cognito identity pool ID.
public GetEffectivePoliciesRequest withCognitoIdentityPoolId(java.lang.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 java.lang.String getThingName()
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The thing name.
public void setThingName(java.lang.String thingName)
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName
- The thing name.
public GetEffectivePoliciesRequest withThingName(java.lang.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 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.