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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstanceProfilesResponse.BuilderinstanceProfiles(Collection<InstanceProfile> instanceProfiles)An object that contains information about your instance profiles.ListInstanceProfilesResponse.BuilderinstanceProfiles(Consumer<InstanceProfile.Builder>... instanceProfiles)An object that contains information about your instance profiles.ListInstanceProfilesResponse.BuilderinstanceProfiles(InstanceProfile... instanceProfiles)An object that contains information about your instance profiles.ListInstanceProfilesResponse.BuildernextToken(String nextToken)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 Detail
-
instanceProfiles
ListInstanceProfilesResponse.Builder instanceProfiles(Collection<InstanceProfile> 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(InstanceProfile... 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 to#instanceProfiles(List.) - 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:
#instanceProfiles(java.util.Collection)
-
nextToken
ListInstanceProfilesResponse.Builder nextToken(String 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.
-
-