Interface ListInstanceProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInstanceProfilesResponse.Builder,,ListInstanceProfilesResponse> DeviceFarmResponse.Builder,SdkBuilder<ListInstanceProfilesResponse.Builder,,ListInstanceProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInstanceProfilesResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
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.Builderavoiding the need to create one manually viaInstanceProfile.builder().When the
Consumercompletes,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.
-