Interface ListStorageProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStorageProfilesResponse.Builder,,ListStorageProfilesResponse> DeadlineResponse.Builder,SdkBuilder<ListStorageProfilesResponse.Builder,,ListStorageProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStorageProfilesResponse
@Mutable
@NotThreadSafe
public static interface ListStorageProfilesResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<ListStorageProfilesResponse.Builder,ListStorageProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf Deadline Cloud returnsnextToken, then there are more results available.storageProfiles(Collection<StorageProfileSummary> storageProfiles) The storage profiles.storageProfiles(Consumer<StorageProfileSummary.Builder>... storageProfiles) The storage profiles.storageProfiles(StorageProfileSummary... storageProfiles) The storage profiles.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.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
-
storageProfiles
ListStorageProfilesResponse.Builder storageProfiles(Collection<StorageProfileSummary> storageProfiles) The storage profiles.
- Parameters:
storageProfiles- The storage profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageProfiles
The storage profiles.
- Parameters:
storageProfiles- The storage profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageProfiles
ListStorageProfilesResponse.Builder storageProfiles(Consumer<StorageProfileSummary.Builder>... storageProfiles) The storage profiles.
This is a convenience method that creates an instance of theStorageProfileSummary.Builderavoiding the need to create one manually viaStorageProfileSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageProfiles(List<StorageProfileSummary>).- Parameters:
storageProfiles- a consumer that will call methods onStorageProfileSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If Deadline Cloud returns
nextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationExceptionerror.- Parameters:
nextToken- If Deadline Cloud returnsnextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-