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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetLensResponse.Builderlens(Consumer<Lens.Builder> lens)A lens return object.GetLensResponse.Builderlens(Lens lens)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, 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
-
lens
GetLensResponse.Builder lens(Lens 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
default GetLensResponse.Builder lens(Consumer<Lens.Builder> 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:
lens(Lens)
-
-