Interface CreateServiceNetworkRequest.Builder

  • Method Details

    • authType

      The type of IAM policy.

      • NONE: The resource does not use an IAM policy. This is the default.

      • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

      Parameters:
      authType - The type of IAM policy.

      • NONE: The resource does not use an IAM policy. This is the default.

      • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The type of IAM policy.

      • NONE: The resource does not use an IAM policy. This is the default.

      • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

      Parameters:
      authType - The type of IAM policy.

      • NONE: The resource does not use an IAM policy. This is the default.

      • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateServiceNetworkRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

      Parameters:
      name - The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharingConfig

      CreateServiceNetworkRequest.Builder sharingConfig(SharingConfig sharingConfig)

      Specify if the service network should be enabled for sharing.

      Parameters:
      sharingConfig - Specify if the service network should be enabled for sharing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharingConfig

      default CreateServiceNetworkRequest.Builder sharingConfig(Consumer<SharingConfig.Builder> sharingConfig)

      Specify if the service network should be enabled for sharing.

      This is a convenience method that creates an instance of the SharingConfig.Builder avoiding the need to create one manually via SharingConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sharingConfig(SharingConfig).

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

      The tags for the service network.

      Parameters:
      tags - The tags for the service network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateServiceNetworkRequest.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.