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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLensesResponse.BuilderlensSummaries(Collection<LensSummary> lensSummaries)Sets the value of the LensSummaries property for this object.ListLensesResponse.BuilderlensSummaries(Consumer<LensSummary.Builder>... lensSummaries)Sets the value of the LensSummaries property for this object.ListLensesResponse.BuilderlensSummaries(LensSummary... lensSummaries)Sets the value of the LensSummaries property for this object.ListLensesResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
lensSummaries
ListLensesResponse.Builder lensSummaries(Collection<LensSummary> 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
ListLensesResponse.Builder lensSummaries(LensSummary... 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
ListLensesResponse.Builder lensSummaries(Consumer<LensSummary.Builder>... 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 to#lensSummaries(List.) - 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:
#lensSummaries(java.util.Collection)
-
nextToken
ListLensesResponse.Builder nextToken(String 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.
-
-