Interface GetAnalyzedResourceResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAnalyzedResourceResponse.Builder,,GetAnalyzedResourceResponse> SdkBuilder<GetAnalyzedResourceResponse.Builder,,GetAnalyzedResourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAnalyzedResourceResponse
public static interface GetAnalyzedResourceResponse.Builder
extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<GetAnalyzedResourceResponse.Builder,GetAnalyzedResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresource(Consumer<AnalyzedResource.Builder> resource) AnAnalyzedResourceobject that contains information that IAM Access Analyzer found when it analyzed the resource.resource(AnalyzedResource resource) AnAnalyzedResourceobject that contains information that IAM Access Analyzer found when it analyzed the resource.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
-
resource
An
AnalyzedResourceobject that contains information that IAM Access Analyzer found when it analyzed the resource.- Parameters:
resource- AnAnalyzedResourceobject that contains information that IAM Access Analyzer found when it analyzed the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
An
This is a convenience method that creates an instance of theAnalyzedResourceobject that contains information that IAM Access Analyzer found when it analyzed the resource.AnalyzedResource.Builderavoiding the need to create one manually viaAnalyzedResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(AnalyzedResource).- Parameters:
resource- a consumer that will call methods onAnalyzedResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-