Interface Scope.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Scope.Builder,Scope>,SdkBuilder<Scope.Builder,Scope>,SdkPojo
- Enclosing class:
- Scope
public static interface Scope.Builder extends SdkPojo, CopyableBuilder<Scope.Builder,Scope>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scope.BuilderawsAccounts(Collection<AWSAccount> awsAccounts)The Amazon Web Services accounts that are included in the scope of the assessment.Scope.BuilderawsAccounts(Consumer<AWSAccount.Builder>... awsAccounts)The Amazon Web Services accounts that are included in the scope of the assessment.Scope.BuilderawsAccounts(AWSAccount... awsAccounts)The Amazon Web Services accounts that are included in the scope of the assessment.Scope.BuilderawsServices(Collection<AWSService> awsServices)The Amazon Web Services services that are included in the scope of the assessment.Scope.BuilderawsServices(Consumer<AWSService.Builder>... awsServices)The Amazon Web Services services that are included in the scope of the assessment.Scope.BuilderawsServices(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 Detail
-
awsAccounts
Scope.Builder awsAccounts(Collection<AWSAccount> 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
Scope.Builder awsAccounts(AWSAccount... 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
Scope.Builder awsAccounts(Consumer<AWSAccount.Builder>... 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.Builderavoiding the need to create one manually viaAWSAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#awsAccounts(List.) - 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:
#awsAccounts(java.util.Collection)
-
awsServices
Scope.Builder awsServices(Collection<AWSService> 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
Scope.Builder awsServices(AWSService... 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
Scope.Builder awsServices(Consumer<AWSService.Builder>... 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.Builderavoiding the need to create one manually viaAWSService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#awsServices(List.) - 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:
#awsServices(java.util.Collection)
-
-