Interface UpdateConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateConfigurationRequest.Builder,,UpdateConfigurationRequest> Inspector2Request.Builder,SdkBuilder<UpdateConfigurationRequest.Builder,,UpdateConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe 12-digit Amazon Web Services account ID of the member account whose scan configuration you want to update.ec2Configuration(Consumer<Ec2Configuration.Builder> ec2Configuration) Specifies how the Amazon EC2 automated scan will be updated for your environment.ec2Configuration(Ec2Configuration ec2Configuration) Specifies how the Amazon EC2 automated scan will be updated for your environment.ecrConfiguration(Consumer<EcrConfiguration.Builder> ecrConfiguration) Specifies how the ECR automated re-scan will be updated for your environment.ecrConfiguration(EcrConfiguration ecrConfiguration) Specifies how the ECR automated re-scan will be updated for your environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updateConfigurationInheritance(Consumer<UpdateConfigurationInheritance.Builder> updateConfigurationInheritance) Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account.updateConfigurationInheritance(UpdateConfigurationInheritance updateConfigurationInheritance) Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account.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.inspector2.model.Inspector2Request.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
-
accountId
The 12-digit Amazon Web Services account ID of the member account whose scan configuration you want to update. When specified, you must be the delegated administrator for this member account. If not specified, the operation updates your own configuration and propagates changes to any member accounts that have not been individually configured.
- Parameters:
accountId- The 12-digit Amazon Web Services account ID of the member account whose scan configuration you want to update. When specified, you must be the delegated administrator for this member account. If not specified, the operation updates your own configuration and propagates changes to any member accounts that have not been individually configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrConfiguration
Specifies how the ECR automated re-scan will be updated for your environment.
- Parameters:
ecrConfiguration- Specifies how the ECR automated re-scan will be updated for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrConfiguration
default UpdateConfigurationRequest.Builder ecrConfiguration(Consumer<EcrConfiguration.Builder> ecrConfiguration) Specifies how the ECR automated re-scan will be updated for your environment.
This is a convenience method that creates an instance of theEcrConfiguration.Builderavoiding the need to create one manually viaEcrConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrConfiguration(EcrConfiguration).- Parameters:
ecrConfiguration- a consumer that will call methods onEcrConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2Configuration
Specifies how the Amazon EC2 automated scan will be updated for your environment.
- Parameters:
ec2Configuration- Specifies how the Amazon EC2 automated scan will be updated for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Configuration
default UpdateConfigurationRequest.Builder ec2Configuration(Consumer<Ec2Configuration.Builder> ec2Configuration) Specifies how the Amazon EC2 automated scan will be updated for your environment.
This is a convenience method that creates an instance of theEc2Configuration.Builderavoiding the need to create one manually viaEc2Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2Configuration(Ec2Configuration).- Parameters:
ec2Configuration- a consumer that will call methods onEc2Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateConfigurationInheritance
UpdateConfigurationRequest.Builder updateConfigurationInheritance(UpdateConfigurationInheritance updateConfigurationInheritance) Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account. Each member of this structure is independently optional. When specified,
ec2ConfigurationandecrConfigurationmust be absent, andaccountIdmust also be present. OnlyINHERIT_FROM_ADMINis valid for each member. If not specified, the operation uses theec2ConfigurationandecrConfigurationparameters instead.- Parameters:
updateConfigurationInheritance- Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account. Each member of this structure is independently optional. When specified,ec2ConfigurationandecrConfigurationmust be absent, andaccountIdmust also be present. OnlyINHERIT_FROM_ADMINis valid for each member. If not specified, the operation uses theec2ConfigurationandecrConfigurationparameters instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateConfigurationInheritance
default UpdateConfigurationRequest.Builder updateConfigurationInheritance(Consumer<UpdateConfigurationInheritance.Builder> updateConfigurationInheritance) Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account. Each member of this structure is independently optional. When specified,
This is a convenience method that creates an instance of theec2ConfigurationandecrConfigurationmust be absent, andaccountIdmust also be present. OnlyINHERIT_FROM_ADMINis valid for each member. If not specified, the operation uses theec2ConfigurationandecrConfigurationparameters instead.UpdateConfigurationInheritance.Builderavoiding the need to create one manually viaUpdateConfigurationInheritance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateConfigurationInheritance(UpdateConfigurationInheritance).- Parameters:
updateConfigurationInheritance- a consumer that will call methods onUpdateConfigurationInheritance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateConfigurationRequest.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
UpdateConfigurationRequest.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.
-