public class ListAttachedPoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the policies attached to the specified thing group.
Constructor and Description |
---|
ListAttachedPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
The token to retrieve the next set of results.
|
java.lang.Integer |
getPageSize()
The maximum number of results to be returned per request.
|
java.lang.Boolean |
getRecursive()
When true, recursively list attached policies.
|
java.lang.String |
getTarget()
The group or principal for which the policies will be listed.
|
int |
hashCode() |
java.lang.Boolean |
isRecursive()
When true, recursively list attached policies.
|
void |
setMarker(java.lang.String marker)
The token to retrieve the next set of results.
|
void |
setPageSize(java.lang.Integer pageSize)
The maximum number of results to be returned per request.
|
void |
setRecursive(java.lang.Boolean recursive)
When true, recursively list attached policies.
|
void |
setTarget(java.lang.String target)
The group or principal for which the policies will be listed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAttachedPoliciesRequest |
withMarker(java.lang.String marker)
The token to retrieve the next set of results.
|
ListAttachedPoliciesRequest |
withPageSize(java.lang.Integer pageSize)
The maximum number of results to be returned per request.
|
ListAttachedPoliciesRequest |
withRecursive(java.lang.Boolean recursive)
When true, recursively list attached policies.
|
ListAttachedPoliciesRequest |
withTarget(java.lang.String target)
The group or principal for which the policies will be listed.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTarget()
The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
The group or principal for which the policies will be listed. 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 setTarget(java.lang.String target)
The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
target
- The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region: accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/ groupName) and CognitoId (region:id).
public ListAttachedPoliciesRequest withTarget(java.lang.String target)
The group or principal for which the policies will be listed. 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.
target
- The group or principal for which the policies will be listed. 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.Boolean isRecursive()
When true, recursively list attached policies.
When true, recursively list attached policies.
public java.lang.Boolean getRecursive()
When true, recursively list attached policies.
When true, recursively list attached policies.
public void setRecursive(java.lang.Boolean recursive)
When true, recursively list attached policies.
recursive
- When true, recursively list attached policies.
public ListAttachedPoliciesRequest withRecursive(java.lang.Boolean recursive)
When true, recursively list attached policies.
Returns a reference to this object so that method calls can be chained together.
recursive
- When true, recursively list attached policies.
public java.lang.String getMarker()
The token to retrieve the next set of results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
The token to retrieve the next set of results.
public void setMarker(java.lang.String marker)
The token to retrieve the next set of results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
marker
- The token to retrieve the next set of results.
public ListAttachedPoliciesRequest withMarker(java.lang.String marker)
The token to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
marker
- The token to retrieve the next set of results.
public java.lang.Integer getPageSize()
The maximum number of results to be returned per request.
Constraints:
Range: 1 - 250
The maximum number of results to be returned per request.
public void setPageSize(java.lang.Integer pageSize)
The maximum number of results to be returned per request.
Constraints:
Range: 1 - 250
pageSize
- The maximum number of results to be returned per request.
public ListAttachedPoliciesRequest withPageSize(java.lang.Integer pageSize)
The maximum number of results to be returned per request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
pageSize
- The maximum number of results to be returned per request.
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.