Interface ListLensesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLensesResponse.Builder,,ListLensesResponse> SdkBuilder<ListLensesResponse.Builder,,ListLensesResponse> SdkPojo,SdkResponse.Builder,WellArchitectedResponse.Builder
- Enclosing class:
ListLensesResponse
public static interface ListLensesResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<ListLensesResponse.Builder,ListLensesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlensSummaries(Collection<LensSummary> lensSummaries) Sets the value of the LensSummaries property for this object.lensSummaries(Consumer<LensSummary.Builder>... lensSummaries) Sets the value of the LensSummaries property for this object.lensSummaries(LensSummary... lensSummaries) Sets the value of the LensSummaries property for this object.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
lensSummaries
Sets the value of the LensSummaries property for this object.- Parameters:
lensSummaries- The new value for the LensSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensSummaries
Sets the value of the LensSummaries property for this object.- Parameters:
lensSummaries- The new value for the LensSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensSummaries
Sets the value of the LensSummaries property for this object. This is a convenience method that creates an instance of theLensSummary.Builderavoiding the need to create one manually viaLensSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolensSummaries(List<LensSummary>).- Parameters:
lensSummaries- a consumer that will call methods onLensSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-