Interface GetAnalyzerResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAnalyzerResponse.Builder,,GetAnalyzerResponse> SdkBuilder<GetAnalyzerResponse.Builder,,GetAnalyzerResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAnalyzerResponse
public static interface GetAnalyzerResponse.Builder
extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<GetAnalyzerResponse.Builder,GetAnalyzerResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAnalyzerResponse.Builderanalyzer(Consumer<AnalyzerSummary.Builder> analyzer) AnAnalyzerSummaryobject that contains information about the analyzer.analyzer(AnalyzerSummary analyzer) AnAnalyzerSummaryobject that contains information about the analyzer.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
analyzer
An
AnalyzerSummaryobject that contains information about the analyzer.- Parameters:
analyzer- AnAnalyzerSummaryobject that contains information about the analyzer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analyzer
An
This is a convenience method that creates an instance of theAnalyzerSummaryobject that contains information about the analyzer.AnalyzerSummary.Builderavoiding the need to create one manually viaAnalyzerSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanalyzer(AnalyzerSummary).- Parameters:
analyzer- a consumer that will call methods onAnalyzerSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-