Interface GetLensResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLensResponse.Builder,,GetLensResponse> SdkBuilder<GetLensResponse.Builder,,GetLensResponse> SdkPojo,SdkResponse.Builder,WellArchitectedResponse.Builder
- Enclosing class:
GetLensResponse
public static interface GetLensResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<GetLensResponse.Builder,GetLensResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetLensResponse.Builderlens(Consumer<Lens.Builder> lens) A lens return object.A lens return 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
-
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.Builderavoiding the need to create one manually viaLens.builder().When the
Consumercompletes,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:
-