Interface PutAdminAccountRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutAdminAccountRequest.Builder,,PutAdminAccountRequest> NetworkSecurityManagerRequest.Builder,SdkBuilder<PutAdminAccountRequest.Builder,,PutAdminAccountRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutAdminAccountRequest
@Mutable
@NotThreadSafe
public static interface PutAdminAccountRequest.Builder
extends NetworkSecurityManagerRequest.Builder, SdkPojo, CopyableBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe AWS account ID to set as the AWS Network Security Manager administrator account.default PutAdminAccountRequest.BuilderadminScope(Consumer<AdminScopeInput.Builder> adminScope) The scope of accounts, organizational units, and firewall types that the administrator can manage.adminScope(AdminScopeInput adminScope) The scope of accounts, organizational units, and firewall types that the administrator can manage.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The priority to assign to the administrator 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.networksecuritymanager.model.NetworkSecurityManagerRequest.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 AWS account ID to set as the AWS Network Security Manager administrator account.
- Parameters:
accountId- The AWS account ID to set as the AWS Network Security Manager administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority to assign to the administrator account.
- Parameters:
priority- The priority to assign to the administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminScope
The scope of accounts, organizational units, and firewall types that the administrator can manage.
- Parameters:
adminScope- The scope of accounts, organizational units, and firewall types that the administrator can manage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminScope
The scope of accounts, organizational units, and firewall types that the administrator can manage.
This is a convenience method that creates an instance of theAdminScopeInput.Builderavoiding the need to create one manually viaAdminScopeInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadminScope(AdminScopeInput).- Parameters:
adminScope- a consumer that will call methods onAdminScopeInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutAdminAccountRequest.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
PutAdminAccountRequest.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.
-