Interface AnalyzeAccessRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AnalyzeAccessRequest.Builder,,AnalyzeAccessRequest> LakeFormationRequest.Builder,SdkBuilder<AnalyzeAccessRequest.Builder,,AnalyzeAccessRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AnalyzeAccessRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontextAttributes(Collection<ContextAttribute> contextAttributes) Attributes that override the principal's attributes for the analysis.contextAttributes(Consumer<ContextAttribute.Builder>... contextAttributes) Attributes that override the principal's attributes for the analysis.contextAttributes(ContextAttribute... contextAttributes) Attributes that override the principal's attributes for the analysis.For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses.groups(Collection<String> groups) For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default AnalyzeAccessRequest.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal) The principal whose access to analyze.principal(DataLakePrincipal principal) The principal whose access to analyze.default AnalyzeAccessRequest.Builderresource(Consumer<Resource.Builder> resource) The resource on which to analyze access.The resource on which to analyze access.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
principal
The principal whose access to analyze.
- Parameters:
principal- The principal whose access to analyze.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal whose access to analyze.
This is a convenience method that creates an instance of theDataLakePrincipal.Builderavoiding the need to create one manually viaDataLakePrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(DataLakePrincipal).- Parameters:
principal- a consumer that will call methods onDataLakePrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groups
For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses. Only one role is supported.
- Parameters:
groups- For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses. Only one role is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses. Only one role is supported.
- Parameters:
groups- For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses. Only one role is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextAttributes
Attributes that override the principal's attributes for the analysis. You can specify up to 50 attributes. If you don't specify any, the analysis uses the principal's existing attributes.
- Parameters:
contextAttributes- Attributes that override the principal's attributes for the analysis. You can specify up to 50 attributes. If you don't specify any, the analysis uses the principal's existing attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextAttributes
Attributes that override the principal's attributes for the analysis. You can specify up to 50 attributes. If you don't specify any, the analysis uses the principal's existing attributes.
- Parameters:
contextAttributes- Attributes that override the principal's attributes for the analysis. You can specify up to 50 attributes. If you don't specify any, the analysis uses the principal's existing attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextAttributes
AnalyzeAccessRequest.Builder contextAttributes(Consumer<ContextAttribute.Builder>... contextAttributes) Attributes that override the principal's attributes for the analysis. You can specify up to 50 attributes. If you don't specify any, the analysis uses the principal's existing attributes.
This is a convenience method that creates an instance of theContextAttribute.Builderavoiding the need to create one manually viaContextAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextAttributes(List<ContextAttribute>).- Parameters:
contextAttributes- a consumer that will call methods onContextAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
The resource on which to analyze access.
- Parameters:
resource- The resource on which to analyze access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource on which to analyze access.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AnalyzeAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AnalyzeAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-