@Generated(value="software.amazon.awssdk:codegen") public final class ListGroupsForUserRequest extends IamRequest implements ToCopyableBuilder<ListGroupsForUserRequest.Builder,ListGroupsForUserRequest>
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
ListGroupsForUserRequest.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static ListGroupsForUserRequest.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. 
 | 
List<SdkField<?>> | 
sdkFields()  | 
static Class<? extends ListGroupsForUserRequest.Builder> | 
serializableBuilderClass()  | 
ListGroupsForUserRequest.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
String | 
userName()
 The name of the user to list groups for. 
 | 
overrideConfigurationcopypublic String userName()
The name of the user to list groups 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 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 ListGroupsForUserRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ListGroupsForUserRequest.Builder,ListGroupsForUserRequest>toBuilder in class IamRequestpublic static ListGroupsForUserRequest.Builder builder()
public static Class<? extends ListGroupsForUserRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. 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 SdkRequestfieldName - 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.