@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPrincipalPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the ListPrincipalPolicies operation.
NOOP
Constructor and Description |
---|
ListPrincipalPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
ListPrincipalPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAscendingOrder()
Specifies the order for results.
|
String |
getMarker()
The marker for the next set of results.
|
Integer |
getPageSize()
The result page size.
|
String |
getPrincipal()
The principal.
|
int |
hashCode() |
Boolean |
isAscendingOrder()
Specifies the order for results.
|
void |
setAscendingOrder(Boolean ascendingOrder)
Specifies the order for results.
|
void |
setMarker(String marker)
The marker for the next set of results.
|
void |
setPageSize(Integer pageSize)
The result page size.
|
void |
setPrincipal(String principal)
The principal.
|
String |
toString()
Returns a string representation of this object.
|
ListPrincipalPoliciesRequest |
withAscendingOrder(Boolean ascendingOrder)
Specifies the order for results.
|
ListPrincipalPoliciesRequest |
withMarker(String marker)
The marker for the next set of results.
|
ListPrincipalPoliciesRequest |
withPageSize(Integer pageSize)
The result page size.
|
ListPrincipalPoliciesRequest |
withPrincipal(String principal)
The principal.
|
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 setPrincipal(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 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).
public ListPrincipalPoliciesRequest withPrincipal(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 void setMarker(String marker)
The marker for the next set of results.
marker
- The marker for the next set of results.public String getMarker()
The marker for the next set of results.
public ListPrincipalPoliciesRequest withMarker(String marker)
The marker for the next set of results.
marker
- The marker for the next set of results.public void setPageSize(Integer pageSize)
The result page size.
pageSize
- The result page size.public Integer getPageSize()
The result page size.
public ListPrincipalPoliciesRequest withPageSize(Integer pageSize)
The result page size.
pageSize
- The result page size.public void setAscendingOrder(Boolean ascendingOrder)
Specifies the order for results. If true, results are returned in ascending creation order.
ascendingOrder
- Specifies the order for results. If true, results are returned in ascending creation order.public Boolean getAscendingOrder()
Specifies the order for results. If true, results are returned in ascending creation order.
public ListPrincipalPoliciesRequest withAscendingOrder(Boolean ascendingOrder)
Specifies the order for results. If true, results are returned in ascending creation order.
ascendingOrder
- Specifies the order for results. If true, results are returned in ascending creation order.public Boolean isAscendingOrder()
Specifies the order for results. If true, results are returned in ascending creation order.
public String toString()
toString
in class Object
Object.toString()
public ListPrincipalPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()