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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAnalyzedResourceResponse.Builderresource(Consumer<AnalyzedResource.Builder> resource)AnAnalyzedResourceobject that contains information that IAM Access Analyzer found when it analyzed the resource.GetAnalyzedResourceResponse.Builderresource(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, 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 Detail
-
resource
GetAnalyzedResourceResponse.Builder resource(AnalyzedResource 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
default GetAnalyzedResourceResponse.Builder resource(Consumer<AnalyzedResource.Builder> 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:
resource(AnalyzedResource)
-
-