Interface ServiceEnvironmentDetail.Builder

  • Method Details

    • serviceEnvironmentName

      ServiceEnvironmentDetail.Builder serviceEnvironmentName(String serviceEnvironmentName)

      The name of the service environment.

      Parameters:
      serviceEnvironmentName - The name of the service environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceEnvironmentArn

      ServiceEnvironmentDetail.Builder serviceEnvironmentArn(String serviceEnvironmentArn)

      The Amazon Resource Name (ARN) of the service environment.

      Parameters:
      serviceEnvironmentArn - The Amazon Resource Name (ARN) of the service environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceEnvironmentType

      ServiceEnvironmentDetail.Builder serviceEnvironmentType(String serviceEnvironmentType)

      The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.

      Parameters:
      serviceEnvironmentType - The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceEnvironmentType

      ServiceEnvironmentDetail.Builder serviceEnvironmentType(ServiceEnvironmentType serviceEnvironmentType)

      The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.

      Parameters:
      serviceEnvironmentType - The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the service environment. Valid values are ENABLED and DISABLED.

      Parameters:
      state - The state of the service environment. Valid values are ENABLED and DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the service environment. Valid values are ENABLED and DISABLED.

      Parameters:
      state - The state of the service environment. Valid values are ENABLED and DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the service environment.

      Parameters:
      status - The current status of the service environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the service environment.

      Parameters:
      status - The current status of the service environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • capacityLimits

      The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.

      Parameters:
      capacityLimits - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityLimits

      ServiceEnvironmentDetail.Builder capacityLimits(CapacityLimit... capacityLimits)

      The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.

      Parameters:
      capacityLimits - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityLimits

      The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.

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

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

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

      The tags associated with the service environment. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

      Parameters:
      tags - The tags associated with the service environment. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.