@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttachedPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAttachedPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAttachedPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMarker()
The token to retrieve the next set of results.
|
Integer |
getPageSize()
The maximum number of results to be returned per request.
|
Boolean |
getRecursive()
When true, recursively list attached policies.
|
String |
getTarget()
The group or principal for which the policies will be listed.
|
int |
hashCode() |
Boolean |
isRecursive()
When true, recursively list attached policies.
|
void |
setMarker(String marker)
The token to retrieve the next set of results.
|
void |
setPageSize(Integer pageSize)
The maximum number of results to be returned per request.
|
void |
setRecursive(Boolean recursive)
When true, recursively list attached policies.
|
void |
setTarget(String target)
The group or principal for which the policies will be listed.
|
String |
toString()
Returns a string representation of this object.
|
ListAttachedPoliciesRequest |
withMarker(String marker)
The token to retrieve the next set of results.
|
ListAttachedPoliciesRequest |
withPageSize(Integer pageSize)
The maximum number of results to be returned per request.
|
ListAttachedPoliciesRequest |
withRecursive(Boolean recursive)
When true, recursively list attached policies.
|
ListAttachedPoliciesRequest |
withTarget(String target)
The group or principal for which the policies will be listed.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setTarget(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 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).
public ListAttachedPoliciesRequest withTarget(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 void setRecursive(Boolean recursive)
When true, recursively list attached policies.
recursive
- When true, recursively list attached policies.public Boolean getRecursive()
When true, recursively list attached policies.
public ListAttachedPoliciesRequest withRecursive(Boolean recursive)
When true, recursively list attached policies.
recursive
- When true, recursively list attached policies.public Boolean isRecursive()
When true, recursively list attached policies.
public void setMarker(String marker)
The token to retrieve the next set of results.
marker
- The token to retrieve the next set of results.public String getMarker()
The token to retrieve the next set of results.
public ListAttachedPoliciesRequest withMarker(String marker)
The token to retrieve the next set of results.
marker
- The token to retrieve the next set of results.public void setPageSize(Integer pageSize)
The maximum number of results to be returned per request.
pageSize
- The maximum number of results to be returned per request.public Integer getPageSize()
The maximum number of results to be returned per request.
public ListAttachedPoliciesRequest withPageSize(Integer pageSize)
The maximum number of results to be returned per request.
pageSize
- The maximum number of results to be returned per request.public String toString()
toString
in class Object
Object.toString()
public ListAttachedPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()