Interface NodePropertyOverride.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NodePropertyOverride.Builder,NodePropertyOverride>, SdkBuilder<NodePropertyOverride.Builder,NodePropertyOverride>, SdkPojo
Enclosing class:
NodePropertyOverride

public static interface NodePropertyOverride.Builder extends SdkPojo, CopyableBuilder<NodePropertyOverride.Builder,NodePropertyOverride>
  • Method Details

    • targetNodes

      NodePropertyOverride.Builder targetNodes(String targetNodes)

      The range of nodes, using node index values, that's used to override. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted ( :n), then 0 is used to start the range. If the ending range value is omitted ( n:), then the highest possible node index is used to end the range.

      Parameters:
      targetNodes - The range of nodes, using node index values, that's used to override. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerOverrides

      NodePropertyOverride.Builder containerOverrides(ContainerOverrides containerOverrides)

      The overrides that are sent to a node range.

      Parameters:
      containerOverrides - The overrides that are sent to a node range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerOverrides

      default NodePropertyOverride.Builder containerOverrides(Consumer<ContainerOverrides.Builder> containerOverrides)

      The overrides that are sent to a node range.

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

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

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

      NodePropertyOverride.Builder ecsPropertiesOverride(EcsPropertiesOverride ecsPropertiesOverride)

      An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.

      Parameters:
      ecsPropertiesOverride - An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ecsPropertiesOverride

      default NodePropertyOverride.Builder ecsPropertiesOverride(Consumer<EcsPropertiesOverride.Builder> ecsPropertiesOverride)

      An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.

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

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

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

      NodePropertyOverride.Builder instanceTypes(Collection<String> instanceTypes)

      An object that contains the instance types that you want to replace for the existing resources of a job.

      Parameters:
      instanceTypes - An object that contains the instance types that you want to replace for the existing resources of a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceTypes

      NodePropertyOverride.Builder instanceTypes(String... instanceTypes)

      An object that contains the instance types that you want to replace for the existing resources of a job.

      Parameters:
      instanceTypes - An object that contains the instance types that you want to replace for the existing resources of a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eksPropertiesOverride

      NodePropertyOverride.Builder eksPropertiesOverride(EksPropertiesOverride eksPropertiesOverride)

      An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.

      Parameters:
      eksPropertiesOverride - An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eksPropertiesOverride

      default NodePropertyOverride.Builder eksPropertiesOverride(Consumer<EksPropertiesOverride.Builder> eksPropertiesOverride)

      An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.

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

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

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