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) AnAnalyzedResource
object that contains information that IAM Access Analyzer found when it analyzed the resource.resource
(AnalyzedResource resource) AnAnalyzedResource
object 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, responseMetadata
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
-
Method Details
-
resource
An
AnalyzedResource
object that contains information that IAM Access Analyzer found when it analyzed the resource.- Parameters:
resource
- AnAnalyzedResource
object 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 theAnalyzedResource
object that contains information that IAM Access Analyzer found when it analyzed the resource.AnalyzedResource.Builder
avoiding the need to create one manually viaAnalyzedResource.builder()
.When the
Consumer
completes,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:
-