Interface StartExportJobV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartExportJobV2Request.Builder,,StartExportJobV2Request> SdkBuilder<StartExportJobV2Request.Builder,,StartExportJobV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
StartExportJobV2Request
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier used to ensure idempotency.default StartExportJobV2Request.Builderdestination(Consumer<ExportDestination.Builder> destination) The destination that Security Hub writes the export to.destination(ExportDestination destination) The destination that Security Hub writes the export to.An optional, user-provided name for the export job that helps you identify it inListExportJobsV2results.default StartExportJobV2Request.BuilderoutputConfiguration(Consumer<ExportOutput.Builder> outputConfiguration) Specifies what data to export and how to format it.outputConfiguration(ExportOutput outputConfiguration) Specifies what data to export and how to format it.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default StartExportJobV2Request.Builderscopes(Consumer<ExportScopes.Builder> scopes) Limits the export to findings from specific organizational units (OUs) or from the delegated administrator's organization.scopes(ExportScopes scopes) Limits the export to findings from specific organizational units (OUs) or from the delegated administrator's organization.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
name
An optional, user-provided name for the export job that helps you identify it in
ListExportJobsV2results. The value can be 1–256 characters. Alphanumeric characters, spaces, and the following ASCII characters are permitted:. _ , : ( ) / + -.- Parameters:
name- An optional, user-provided name for the export job that helps you identify it inListExportJobsV2results. The value can be 1–256 characters. Alphanumeric characters, spaces, and the following ASCII characters are permitted:. _ , : ( ) / + -.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The destination that Security Hub writes the export to. You must specify exactly one destination type. Currently, the only supported type is Amazon S3.
- Parameters:
destination- The destination that Security Hub writes the export to. You must specify exactly one destination type. Currently, the only supported type is Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default StartExportJobV2Request.Builder destination(Consumer<ExportDestination.Builder> destination) The destination that Security Hub writes the export to. You must specify exactly one destination type. Currently, the only supported type is Amazon S3.
This is a convenience method that creates an instance of theExportDestination.Builderavoiding the need to create one manually viaExportDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(ExportDestination).- Parameters:
destination- a consumer that will call methods onExportDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfiguration
Specifies what data to export and how to format it. You must specify exactly one output type. Currently, the only supported type is
Findings.- Parameters:
outputConfiguration- Specifies what data to export and how to format it. You must specify exactly one output type. Currently, the only supported type isFindings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfiguration
default StartExportJobV2Request.Builder outputConfiguration(Consumer<ExportOutput.Builder> outputConfiguration) Specifies what data to export and how to format it. You must specify exactly one output type. Currently, the only supported type is
This is a convenience method that creates an instance of theFindings.ExportOutput.Builderavoiding the need to create one manually viaExportOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfiguration(ExportOutput).- Parameters:
outputConfiguration- a consumer that will call methods onExportOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
Limits the export to findings from specific organizational units (OUs) or from the delegated administrator's organization. Only the delegated administrator account can use this parameter; other accounts that specify it receive an
AccessDeniedException.This parameter is optional. If you omit it, the delegated administrator exports findings from all accounts across the entire organization, and other accounts export only their own findings.
You can specify up to 10 entries in
Scopes.AwsOrganizations. If you specify multiple entries, Security Hub combines them using OR logic.- Parameters:
scopes- Limits the export to findings from specific organizational units (OUs) or from the delegated administrator's organization. Only the delegated administrator account can use this parameter; other accounts that specify it receive anAccessDeniedException.This parameter is optional. If you omit it, the delegated administrator exports findings from all accounts across the entire organization, and other accounts export only their own findings.
You can specify up to 10 entries in
Scopes.AwsOrganizations. If you specify multiple entries, Security Hub combines them using OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Limits the export to findings from specific organizational units (OUs) or from the delegated administrator's organization. Only the delegated administrator account can use this parameter; other accounts that specify it receive an
AccessDeniedException.This parameter is optional. If you omit it, the delegated administrator exports findings from all accounts across the entire organization, and other accounts export only their own findings.
You can specify up to 10 entries in
This is a convenience method that creates an instance of theScopes.AwsOrganizations. If you specify multiple entries, Security Hub combines them using OR logic.ExportScopes.Builderavoiding the need to create one manually viaExportScopes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopes(ExportScopes).- Parameters:
scopes- a consumer that will call methods onExportScopes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier used to ensure idempotency.
- Parameters:
clientToken- A unique identifier used to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartExportJobV2Request.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
StartExportJobV2Request.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.
-