Interface ApplicationsResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationsResponse.Builder,ApplicationsResponse>,SdkBuilder<ApplicationsResponse.Builder,ApplicationsResponse>,SdkPojo
- Enclosing class:
- ApplicationsResponse
public static interface ApplicationsResponse.Builder extends SdkPojo, CopyableBuilder<ApplicationsResponse.Builder,ApplicationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationsResponse.Builderitem(Collection<ApplicationResponse> item)An array of responses, one for each application that was returned.ApplicationsResponse.Builderitem(Consumer<ApplicationResponse.Builder>... item)An array of responses, one for each application that was returned.ApplicationsResponse.Builderitem(ApplicationResponse... item)An array of responses, one for each application that was returned.ApplicationsResponse.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
item
ApplicationsResponse.Builder item(Collection<ApplicationResponse> item)
An array of responses, one for each application that was returned.
- Parameters:
item- An array of responses, one for each application that was returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
ApplicationsResponse.Builder item(ApplicationResponse... item)
An array of responses, one for each application that was returned.
- Parameters:
item- An array of responses, one for each application that was returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
ApplicationsResponse.Builder item(Consumer<ApplicationResponse.Builder>... item)
An array of responses, one for each application that was returned.
This is a convenience method that creates an instance of theApplicationResponse.Builderavoiding the need to create one manually viaApplicationResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#item(List.) - Parameters:
item- a consumer that will call methods onApplicationResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#item(java.util.Collection)
-
nextToken
ApplicationsResponse.Builder nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-