Interface GetLensResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLensResponse.Builder,
,GetLensResponse> SdkBuilder<GetLensResponse.Builder,
,GetLensResponse> SdkPojo
,SdkResponse.Builder
,WellArchitectedResponse.Builder
- Enclosing class:
GetLensResponse
@Mutable
@NotThreadSafe
public static interface GetLensResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<GetLensResponse.Builder,GetLensResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetLensResponse.Builder
lens
(Consumer<Lens.Builder> lens) A lens return object.A lens return 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, sdkFieldNameToField, 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 Details
-
lens
A lens return object.
- Parameters:
lens
- A lens return object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lens
A lens return object.
This is a convenience method that creates an instance of theLens.Builder
avoiding the need to create one manually viaLens.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolens(Lens)
.- Parameters:
lens
- a consumer that will call methods onLens.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-