Interface CreateNetworkScopeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNetworkScopeRequest.Builder,,CreateNetworkScopeRequest> NetworkManagerRequest.Builder,SdkBuilder<CreateNetworkScopeRequest.Builder,,CreateNetworkScopeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateNetworkScopeRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessMode(String accessMode) How the network scope admits principals.accessMode(NetworkScopeAccessMode accessMode) How the network scope admits principals.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The name of the network scope.networkScopeRegions(String... networkScopeRegions) The AWS Regions that the network scope covers.networkScopeRegions(Collection<String> networkScopeRegions) The AWS Regions that the network scope covers.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags to apply to the resource during creation.tags(Consumer<Tag.Builder>... tags) The tags to apply to the resource during creation.The tags to apply to the resource during creation.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.networkmanager.model.NetworkManagerRequest.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
-
name
The name of the network scope. The name can be up to 128 characters long and can contain letters, numbers, and spaces, as well as the following characters: . _ : / + = @ -
- Parameters:
name- The name of the network scope. The name can be up to 128 characters long and can contain letters, numbers, and spaces, as well as the following characters: . _ : / + = @ -- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessMode
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Parameters:
accessMode- How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. WithACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessMode
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Parameters:
accessMode- How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. WithACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkScopeRegions
The AWS Regions that the network scope covers. Each Region must be one where AWS Ops Agent for networking is available and can appear only once.
- Parameters:
networkScopeRegions- The AWS Regions that the network scope covers. Each Region must be one where AWS Ops Agent for networking is available and can appear only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkScopeRegions
The AWS Regions that the network scope covers. Each Region must be one where AWS Ops Agent for networking is available and can appear only once.
- Parameters:
networkScopeRegions- The AWS Regions that the network scope covers. Each Region must be one where AWS Ops Agent for networking is available and can appear only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the resource during creation.
- Parameters:
tags- The tags to apply to the resource during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the resource during creation.
- Parameters:
tags- The tags to apply to the resource during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the resource during creation.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry within 8 hours with the same client token and the same parameters, the operation returns the network scope that the first request created. If that network scope no longer exists, the operation returns
ConflictException, and you need a new client token. If you reuse a client token with different parameters, the operation returnsValidationException. If you don't specify a client token, the AWS SDK generates one.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry within 8 hours with the same client token and the same parameters, the operation returns the network scope that the first request created. If that network scope no longer exists, the operation returnsConflictException, and you need a new client token. If you reuse a client token with different parameters, the operation returnsValidationException. If you don't specify a client token, the AWS SDK generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNetworkScopeRequest.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
CreateNetworkScopeRequest.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.
-