Interface AnalyzeAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AnalyzeAccessResponse.Builder,,AnalyzeAccessResponse> LakeFormationResponse.Builder,SdkBuilder<AnalyzeAccessResponse.Builder,,AnalyzeAccessResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AnalyzeAccessResponse
@Mutable
@NotThreadSafe
public static interface AnalyzeAccessResponse.Builder
extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<AnalyzeAccessResponse.Builder,AnalyzeAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalyzeAccessResponse.BuilderaccessDecision(Consumer<AccessDecision.Builder> accessDecision) The principal's access on the resource.accessDecision(AccessDecision accessDecision) The principal's access on the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
accessDecision
The principal's access on the resource.
- Parameters:
accessDecision- The principal's access on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessDecision
default AnalyzeAccessResponse.Builder accessDecision(Consumer<AccessDecision.Builder> accessDecision) The principal's access on the resource.
This is a convenience method that creates an instance of theAccessDecision.Builderavoiding the need to create one manually viaAccessDecision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessDecision(AccessDecision).- Parameters:
accessDecision- a consumer that will call methods onAccessDecision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-