@Generated(value="software.amazon.awssdk:codegen") public class ListAttachedRolePoliciesRequest extends IAMRequest implements ToCopyableBuilder<ListAttachedRolePoliciesRequest.Builder,ListAttachedRolePoliciesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListAttachedRolePoliciesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListAttachedRolePoliciesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
marker()
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated.
|
Integer |
maxItems()
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response.
|
String |
pathPrefix()
The path prefix for filtering the results.
|
String |
roleName()
The name (friendly name, not ARN) of the role to list attached policies for.
|
static Class<? extends ListAttachedRolePoliciesRequest.Builder> |
serializableBuilderClass() |
ListAttachedRolePoliciesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String roleName()
The name (friendly name, not ARN) of the role to list attached policies for.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String pathPrefix()
The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies.
This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
public String marker()
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated. Set it to the value of the Marker
element in the response that you received to
indicate where the next call should start.
Marker
element in the response that you
received to indicate where the next call should start.public Integer maxItems()
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response. If additional items exist beyond the maximum you specify, the IsTruncated
response element
is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when
there are more results available. In that case, the IsTruncated
response element returns
true
and Marker
contains a value to include in the subsequent call that tells the
service where to continue from.
IsTruncated
response
element is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even
when there are more results available. In that case, the IsTruncated
response element
returns true
and Marker
contains a value to include in the subsequent call that
tells the service where to continue from.
public ListAttachedRolePoliciesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListAttachedRolePoliciesRequest.Builder,ListAttachedRolePoliciesRequest>
toBuilder
in class IAMRequest
public static ListAttachedRolePoliciesRequest.Builder builder()
public static Class<? extends ListAttachedRolePoliciesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.