Interface CreateGlobalInferenceGatewayRequest.Builder

  • Method Details

    • name

      The name of the global inference gateway. The name must be unique in your account in the current Region, and is case-sensitive. The name can't be exactly 12 lowercase letters or digits, because the global inference gateway ID uses that format.

      Parameters:
      name - The name of the global inference gateway. The name must be unique in your account in the current Region, and is case-sensitive. The name can't be exactly 12 lowercase letters or digits, because the global inference gateway ID uses that format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routing

      The routing configuration of the global inference gateway. If you omit it, the global inference gateway uses default routing weights.

      Parameters:
      routing - The routing configuration of the global inference gateway. If you omit it, the global inference gateway uses default routing weights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routing

      The routing configuration of the global inference gateway. If you omit it, the global inference gateway uses default routing weights.

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

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

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

      CreateGlobalInferenceGatewayRequest.Builder executionRoleArn(String executionRoleArn)

      The Amazon Resource Name (ARN) of the IAM role that the global inference gateway assumes to access your SageMaker HyperPod clusters. The role must be in your account and partition, and you must have iam:PassRole permission for it. You can't change the role after you create the global inference gateway.

      Parameters:
      executionRoleArn - The Amazon Resource Name (ARN) of the IAM role that the global inference gateway assumes to access your SageMaker HyperPod clusters. The role must be in your account and partition, and you must have iam:PassRole permission for it. You can't change the role after you create the global inference gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      The 1 to 10 in-cluster inference gateways to add to the global inference gateway. A global inference gateway must always have at least one in-cluster inference gateway, so RemoveInferenceGateway can't remove the last one.

      Parameters:
      gateways - The 1 to 10 in-cluster inference gateways to add to the global inference gateway. A global inference gateway must always have at least one in-cluster inference gateway, so RemoveInferenceGateway can't remove the last one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      The 1 to 10 in-cluster inference gateways to add to the global inference gateway. A global inference gateway must always have at least one in-cluster inference gateway, so RemoveInferenceGateway can't remove the last one.

      Parameters:
      gateways - The 1 to 10 in-cluster inference gateways to add to the global inference gateway. A global inference gateway must always have at least one in-cluster inference gateway, so RemoveInferenceGateway can't remove the last one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      The 1 to 10 in-cluster inference gateways to add to the global inference gateway. A global inference gateway must always have at least one in-cluster inference gateway, so RemoveInferenceGateway can't remove the last one.

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

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

      Parameters:
      gateways - a consumer that will call methods on GlobalInferenceGatewayMember.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. An idempotent operation completes no more than one time. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. An idempotent operation completes no more than one time. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Custom tags for managing the global inference gateway as an Amazon Web Services resource. You can add tags to your global inference gateway in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.

      The global inference gateway doesn't return tags in its responses. To read the tags, use ListTags.

      Parameters:
      tags - Custom tags for managing the global inference gateway as an Amazon Web Services resource. You can add tags to your global inference gateway in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.

      The global inference gateway doesn't return tags in its responses. To read the tags, use ListTags.

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

      Custom tags for managing the global inference gateway as an Amazon Web Services resource. You can add tags to your global inference gateway in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.

      The global inference gateway doesn't return tags in its responses. To read the tags, use ListTags.

      Parameters:
      tags - Custom tags for managing the global inference gateway as an Amazon Web Services resource. You can add tags to your global inference gateway in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.

      The global inference gateway doesn't return tags in its responses. To read the tags, use ListTags.

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

      Custom tags for managing the global inference gateway as an Amazon Web Services resource. You can add tags to your global inference gateway in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.

      The global inference gateway doesn't return tags in its responses. To read the tags, use ListTags.

      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:
    • 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.