Interface ListEntitiesForPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEntitiesForPolicyResponse.Builder,ListEntitiesForPolicyResponse>,IamResponse.Builder,SdkBuilder<ListEntitiesForPolicyResponse.Builder,ListEntitiesForPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEntitiesForPolicyResponse
@Mutable @NotThreadSafe public static interface ListEntitiesForPolicyResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListEntitiesForPolicyResponse.Builder,ListEntitiesForPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEntitiesForPolicyResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.ListEntitiesForPolicyResponse.Buildermarker(String marker)WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.ListEntitiesForPolicyResponse.BuilderpolicyGroups(Collection<PolicyGroup> policyGroups)A list of IAM groups that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyGroups(Consumer<PolicyGroup.Builder>... policyGroups)A list of IAM groups that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyGroups(PolicyGroup... policyGroups)A list of IAM groups that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyRoles(Collection<PolicyRole> policyRoles)A list of IAM roles that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyRoles(Consumer<PolicyRole.Builder>... policyRoles)A list of IAM roles that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyRoles(PolicyRole... policyRoles)A list of IAM roles that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyUsers(Collection<PolicyUser> policyUsers)A list of IAM users that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyUsers(Consumer<PolicyUser.Builder>... policyUsers)A list of IAM users that the policy is attached to.ListEntitiesForPolicyResponse.BuilderpolicyUsers(PolicyUser... policyUsers)A list of IAM users that the policy is attached to.-
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
-
policyGroups
ListEntitiesForPolicyResponse.Builder policyGroups(Collection<PolicyGroup> policyGroups)
A list of IAM groups that the policy is attached to.
- Parameters:
policyGroups- A list of IAM groups that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyGroups
ListEntitiesForPolicyResponse.Builder policyGroups(PolicyGroup... policyGroups)
A list of IAM groups that the policy is attached to.
- Parameters:
policyGroups- A list of IAM groups that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyGroups
ListEntitiesForPolicyResponse.Builder policyGroups(Consumer<PolicyGroup.Builder>... policyGroups)
A list of IAM groups that the policy is attached to.
This is a convenience method that creates an instance of thePolicyGroup.Builderavoiding the need to create one manually viaPolicyGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyGroups(List.) - Parameters:
policyGroups- a consumer that will call methods onPolicyGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyGroups(java.util.Collection)
-
policyUsers
ListEntitiesForPolicyResponse.Builder policyUsers(Collection<PolicyUser> policyUsers)
A list of IAM users that the policy is attached to.
- Parameters:
policyUsers- A list of IAM users that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyUsers
ListEntitiesForPolicyResponse.Builder policyUsers(PolicyUser... policyUsers)
A list of IAM users that the policy is attached to.
- Parameters:
policyUsers- A list of IAM users that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyUsers
ListEntitiesForPolicyResponse.Builder policyUsers(Consumer<PolicyUser.Builder>... policyUsers)
A list of IAM users that the policy is attached to.
This is a convenience method that creates an instance of thePolicyUser.Builderavoiding the need to create one manually viaPolicyUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyUsers(List.) - Parameters:
policyUsers- a consumer that will call methods onPolicyUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyUsers(java.util.Collection)
-
policyRoles
ListEntitiesForPolicyResponse.Builder policyRoles(Collection<PolicyRole> policyRoles)
A list of IAM roles that the policy is attached to.
- Parameters:
policyRoles- A list of IAM roles that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRoles
ListEntitiesForPolicyResponse.Builder policyRoles(PolicyRole... policyRoles)
A list of IAM roles that the policy is attached to.
- Parameters:
policyRoles- A list of IAM roles that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRoles
ListEntitiesForPolicyResponse.Builder policyRoles(Consumer<PolicyRole.Builder>... policyRoles)
A list of IAM roles that the policy is attached to.
This is a convenience method that creates an instance of thePolicyRole.Builderavoiding the need to create one manually viaPolicyRole.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyRoles(List.) - Parameters:
policyRoles- a consumer that will call methods onPolicyRole.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyRoles(java.util.Collection)
-
isTruncated
ListEntitiesForPolicyResponse.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
ListEntitiesForPolicyResponse.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.
-
-