Interface CreateNetworkScopeRequest.Builder

  • 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

      CreateNetworkScopeRequest.Builder accessMode(String 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. With ORGANIZATIONS, 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. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, 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. With ORGANIZATIONS, 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. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, 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

      CreateNetworkScopeRequest.Builder networkScopeRegions(Collection<String> 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

      CreateNetworkScopeRequest.Builder networkScopeRegions(String... 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateNetworkScopeRequest.Builder clientToken(String 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 returns ValidationException. 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 returns ConflictException, and you need a new client token. If you reuse a client token with different parameters, the operation returns ValidationException. 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.