Interface GetLensVersionDifferenceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLensVersionDifferenceResponse.Builder,,GetLensVersionDifferenceResponse> SdkBuilder<GetLensVersionDifferenceResponse.Builder,,GetLensVersionDifferenceResponse> SdkPojo,SdkResponse.Builder,WellArchitectedResponse.Builder
- Enclosing class:
GetLensVersionDifferenceResponse
public static interface GetLensVersionDifferenceResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<GetLensVersionDifferenceResponse.Builder,GetLensVersionDifferenceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbaseLensVersion(String baseLensVersion) The base version of the lens.latestLensVersion(String latestLensVersion) The latest version of the lens.Sets the value of the LensAlias property for this object.The ARN for the lens.targetLensVersion(String targetLensVersion) The target lens version for the lens.versionDifferences(Consumer<VersionDifferences.Builder> versionDifferences) Sets the value of the VersionDifferences property for this object.versionDifferences(VersionDifferences versionDifferences) Sets the value of the VersionDifferences 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, sdkFieldNameToField, 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
-
lensAlias
Sets the value of the LensAlias property for this object.- Parameters:
lensAlias- The new value for the LensAlias property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensArn
The ARN for the lens.
- Parameters:
lensArn- The ARN for the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseLensVersion
The base version of the lens.
- Parameters:
baseLensVersion- The base version of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLensVersion
The target lens version for the lens.
- Parameters:
targetLensVersion- The target lens version for the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestLensVersion
The latest version of the lens.
- Parameters:
latestLensVersion- The latest version of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDifferences
Sets the value of the VersionDifferences property for this object.- Parameters:
versionDifferences- The new value for the VersionDifferences property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDifferences
default GetLensVersionDifferenceResponse.Builder versionDifferences(Consumer<VersionDifferences.Builder> versionDifferences) Sets the value of the VersionDifferences property for this object. This is a convenience method that creates an instance of theVersionDifferences.Builderavoiding the need to create one manually viaVersionDifferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversionDifferences(VersionDifferences).- Parameters:
versionDifferences- a consumer that will call methods onVersionDifferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-