Interface ListAccessKeysResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAccessKeysResponse.Builder,ListAccessKeysResponse>,IamResponse.Builder,SdkBuilder<ListAccessKeysResponse.Builder,ListAccessKeysResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccessKeysResponse
@Mutable @NotThreadSafe public static interface ListAccessKeysResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListAccessKeysResponse.Builder,ListAccessKeysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccessKeysResponse.BuilderaccessKeyMetadata(Collection<AccessKeyMetadata> accessKeyMetadata)A list of objects containing metadata about the access keys.ListAccessKeysResponse.BuilderaccessKeyMetadata(Consumer<AccessKeyMetadata.Builder>... accessKeyMetadata)A list of objects containing metadata about the access keys.ListAccessKeysResponse.BuilderaccessKeyMetadata(AccessKeyMetadata... accessKeyMetadata)A list of objects containing metadata about the access keys.ListAccessKeysResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.ListAccessKeysResponse.Buildermarker(String marker)WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
accessKeyMetadata
ListAccessKeysResponse.Builder accessKeyMetadata(Collection<AccessKeyMetadata> accessKeyMetadata)
A list of objects containing metadata about the access keys.
- Parameters:
accessKeyMetadata- A list of objects containing metadata about the access keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyMetadata
ListAccessKeysResponse.Builder accessKeyMetadata(AccessKeyMetadata... accessKeyMetadata)
A list of objects containing metadata about the access keys.
- Parameters:
accessKeyMetadata- A list of objects containing metadata about the access keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyMetadata
ListAccessKeysResponse.Builder accessKeyMetadata(Consumer<AccessKeyMetadata.Builder>... accessKeyMetadata)
A list of objects containing metadata about the access keys.
This is a convenience method that creates an instance of theAccessKeyMetadata.Builderavoiding the need to create one manually viaAccessKeyMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessKeyMetadata(List.) - Parameters:
accessKeyMetadata- a consumer that will call methods onAccessKeyMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessKeyMetadata(java.util.Collection)
-
isTruncated
ListAccessKeysResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the
Markerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Parameters:
isTruncated- A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using theMarkerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
ListAccessKeysResponse.Builder marker(String marker)
When
IsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-