Interface DescribeUserProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeUserProfilesResponse.Builder,
,DescribeUserProfilesResponse> OpsWorksResponse.Builder
,SdkBuilder<DescribeUserProfilesResponse.Builder,
,DescribeUserProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeUserProfilesResponse
@Mutable
@NotThreadSafe
public static interface DescribeUserProfilesResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeUserProfilesResponse.Builder,DescribeUserProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionuserProfiles
(Collection<UserProfile> userProfiles) AUsers
object that describes the specified users.userProfiles
(Consumer<UserProfile.Builder>... userProfiles) AUsers
object that describes the specified users.userProfiles
(UserProfile... userProfiles) AUsers
object that describes the specified users.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.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 Details
-
userProfiles
A
Users
object that describes the specified users.- Parameters:
userProfiles
- AUsers
object that describes the specified users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfiles
A
Users
object that describes the specified users.- Parameters:
userProfiles
- AUsers
object that describes the specified users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfiles
A
This is a convenience method that creates an instance of theUsers
object that describes the specified users.UserProfile.Builder
avoiding the need to create one manually viaUserProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserProfiles(List<UserProfile>)
.- Parameters:
userProfiles
- a consumer that will call methods onUserProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-