Interface ListInstanceProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInstanceProfilesResponse.Builder,
,ListInstanceProfilesResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListInstanceProfilesResponse.Builder,
,ListInstanceProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInstanceProfilesResponse
public static interface ListInstanceProfilesResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListInstanceProfilesResponse.Builder,ListInstanceProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceProfiles
(Collection<InstanceProfile> instanceProfiles) An object that contains information about your instance profiles.instanceProfiles
(Consumer<InstanceProfile.Builder>... instanceProfiles) An object that contains information about your instance profiles.instanceProfiles
(InstanceProfile... instanceProfiles) An object that contains information about your instance profiles.An identifier that can be used in the next call to this operation to return the next set of items in the list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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 Details
-
instanceProfiles
An object that contains information about your instance profiles.
- Parameters:
instanceProfiles
- An object that contains information about your instance profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfiles
An object that contains information about your instance profiles.
- Parameters:
instanceProfiles
- An object that contains information about your instance profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfiles
ListInstanceProfilesResponse.Builder instanceProfiles(Consumer<InstanceProfile.Builder>... instanceProfiles) An object that contains information about your instance profiles.
This is a convenience method that creates an instance of theInstanceProfile.Builder
avoiding the need to create one manually viaInstanceProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceProfiles(List<InstanceProfile>)
.- Parameters:
instanceProfiles
- a consumer that will call methods onInstanceProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that can be used in the next call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- An identifier that can be used in the next call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-