@Generated(value="software.amazon.awssdk:codegen") public class GetGroupRequest extends IAMRequest implements ToCopyableBuilder<GetGroupRequest.Builder,GetGroupRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetGroupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetGroupRequest.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 . |
String |
groupName()
The name of the group.
|
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.
|
static Class<? extends GetGroupRequest.Builder> |
serializableBuilderClass() |
GetGroupRequest.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 groupName()
The name of the group.
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 GetGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetGroupRequest.Builder,GetGroupRequest>
toBuilder
in class IAMRequest
public static GetGroupRequest.Builder builder()
public static Class<? extends GetGroupRequest.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.