Interface Scope.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Scope.Builder,
,Scope> SdkBuilder<Scope.Builder,
,Scope> SdkPojo
- Enclosing class:
Scope
-
Method Summary
Modifier and TypeMethodDescriptionawsAccounts
(Collection<AWSAccount> awsAccounts) The Amazon Web Services accounts that are included in the scope of the assessment.awsAccounts
(Consumer<AWSAccount.Builder>... awsAccounts) The Amazon Web Services accounts that are included in the scope of the assessment.awsAccounts
(AWSAccount... awsAccounts) The Amazon Web Services accounts that are included in the scope of the assessment.awsServices
(Collection<AWSService> awsServices) The Amazon Web Services services that are included in the scope of the assessment.awsServices
(Consumer<AWSService.Builder>... awsServices) The Amazon Web Services services that are included in the scope of the assessment.awsServices
(AWSService... awsServices) The Amazon Web Services services that are included in the scope of the assessment.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
-
Method Details
-
awsAccounts
The Amazon Web Services accounts that are included in the scope of the assessment.
- Parameters:
awsAccounts
- The Amazon Web Services accounts that are included in the scope of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccounts
The Amazon Web Services accounts that are included in the scope of the assessment.
- Parameters:
awsAccounts
- The Amazon Web Services accounts that are included in the scope of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccounts
The Amazon Web Services accounts that are included in the scope of the assessment.
This is a convenience method that creates an instance of theAWSAccount.Builder
avoiding the need to create one manually viaAWSAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsAccounts(List<AWSAccount>)
.- Parameters:
awsAccounts
- a consumer that will call methods onAWSAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsServices
The Amazon Web Services services that are included in the scope of the assessment.
- Parameters:
awsServices
- The Amazon Web Services services that are included in the scope of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsServices
The Amazon Web Services services that are included in the scope of the assessment.
- Parameters:
awsServices
- The Amazon Web Services services that are included in the scope of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsServices
The Amazon Web Services services that are included in the scope of the assessment.
This is a convenience method that creates an instance of theAWSService.Builder
avoiding the need to create one manually viaAWSService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsServices(List<AWSService>)
.- Parameters:
awsServices
- a consumer that will call methods onAWSService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-