Interface ListRoleAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRoleAssociationsResponse.Builder,,ListRoleAssociationsResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListRoleAssociationsResponse.Builder,,ListRoleAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRoleAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListRoleAssociationsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListRoleAssociationsResponse.Builder,ListRoleAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionroleAssociations(Collection<RoleAssociationEntry> roleAssociations) The existing role associations, grouped by role type.roleAssociations(Consumer<RoleAssociationEntry.Builder>... roleAssociations) The existing role associations, grouped by role type.roleAssociations(RoleAssociationEntry... roleAssociations) The existing role associations, grouped by role type.The Amazon Resource Name (ARN) of the default endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
targetArn
The Amazon Resource Name (ARN) of the default endpoint.
- Parameters:
targetArn- The Amazon Resource Name (ARN) of the default endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleAssociations
ListRoleAssociationsResponse.Builder roleAssociations(Collection<RoleAssociationEntry> roleAssociations) The existing role associations, grouped by role type. The list is empty when no associations match the request.
- Parameters:
roleAssociations- The existing role associations, grouped by role type. The list is empty when no associations match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleAssociations
The existing role associations, grouped by role type. The list is empty when no associations match the request.
- Parameters:
roleAssociations- The existing role associations, grouped by role type. The list is empty when no associations match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleAssociations
ListRoleAssociationsResponse.Builder roleAssociations(Consumer<RoleAssociationEntry.Builder>... roleAssociations) The existing role associations, grouped by role type. The list is empty when no associations match the request.
This is a convenience method that creates an instance of theRoleAssociationEntry.Builderavoiding the need to create one manually viaRoleAssociationEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroleAssociations(List<RoleAssociationEntry>).- Parameters:
roleAssociations- a consumer that will call methods onRoleAssociationEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-