Interface ListAttachedRolePoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAttachedRolePoliciesResponse.Builder,ListAttachedRolePoliciesResponse>,IamResponse.Builder,SdkBuilder<ListAttachedRolePoliciesResponse.Builder,ListAttachedRolePoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAttachedRolePoliciesResponse
public static interface ListAttachedRolePoliciesResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListAttachedRolePoliciesResponse.Builder,ListAttachedRolePoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAttachedRolePoliciesResponse.BuilderattachedPolicies(Collection<AttachedPolicy> attachedPolicies)A list of the attached policies.ListAttachedRolePoliciesResponse.BuilderattachedPolicies(Consumer<AttachedPolicy.Builder>... attachedPolicies)A list of the attached policies.ListAttachedRolePoliciesResponse.BuilderattachedPolicies(AttachedPolicy... attachedPolicies)A list of the attached policies.ListAttachedRolePoliciesResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.ListAttachedRolePoliciesResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attachedPolicies
ListAttachedRolePoliciesResponse.Builder attachedPolicies(Collection<AttachedPolicy> attachedPolicies)
A list of the attached policies.
- Parameters:
attachedPolicies- A list of the attached policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedPolicies
ListAttachedRolePoliciesResponse.Builder attachedPolicies(AttachedPolicy... attachedPolicies)
A list of the attached policies.
- Parameters:
attachedPolicies- A list of the attached policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedPolicies
ListAttachedRolePoliciesResponse.Builder attachedPolicies(Consumer<AttachedPolicy.Builder>... attachedPolicies)
A list of the attached policies.
This is a convenience method that creates an instance of theAttachedPolicy.Builderavoiding the need to create one manually viaAttachedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachedPolicies(List.) - Parameters:
attachedPolicies- a consumer that will call methods onAttachedPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attachedPolicies(java.util.Collection)
-
isTruncated
ListAttachedRolePoliciesResponse.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
ListAttachedRolePoliciesResponse.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.
-
-