Interface ListPoliciesGrantingServiceAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPoliciesGrantingServiceAccessResponse.Builder,,ListPoliciesGrantingServiceAccessResponse> IamResponse.Builder,SdkBuilder<ListPoliciesGrantingServiceAccessResponse.Builder,,ListPoliciesGrantingServiceAccessResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPoliciesGrantingServiceAccessResponse
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated(Boolean isTruncated) A flag that indicates whether there are more items to return.WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.policiesGrantingServiceAccess(Collection<ListPoliciesGrantingServiceAccessEntry> policiesGrantingServiceAccess) AListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).policiesGrantingServiceAccess(Consumer<ListPoliciesGrantingServiceAccessEntry.Builder>... policiesGrantingServiceAccess) AListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).policiesGrantingServiceAccess(ListPoliciesGrantingServiceAccessEntry... policiesGrantingServiceAccess) AListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policiesGrantingServiceAccess
ListPoliciesGrantingServiceAccessResponse.Builder policiesGrantingServiceAccess(Collection<ListPoliciesGrantingServiceAccessEntry> policiesGrantingServiceAccess) A
ListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).- Parameters:
policiesGrantingServiceAccess- AListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policiesGrantingServiceAccess
ListPoliciesGrantingServiceAccessResponse.Builder policiesGrantingServiceAccess(ListPoliciesGrantingServiceAccessEntry... policiesGrantingServiceAccess) A
ListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).- Parameters:
policiesGrantingServiceAccess- AListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policiesGrantingServiceAccess
ListPoliciesGrantingServiceAccessResponse.Builder policiesGrantingServiceAccess(Consumer<ListPoliciesGrantingServiceAccessEntry.Builder>... policiesGrantingServiceAccess) A
This is a convenience method that creates an instance of theListPoliciesGrantingServiceAccessobject that contains details about the permissions policies attached to the specified identity (user, group, or role).ListPoliciesGrantingServiceAccessEntry.Builderavoiding the need to create one manually viaListPoliciesGrantingServiceAccessEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topoliciesGrantingServiceAccess(List<ListPoliciesGrantingServiceAccessEntry>).- Parameters:
policiesGrantingServiceAccess- a consumer that will call methods onListPoliciesGrantingServiceAccessEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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. 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. 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
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.
-