Interface JobScopeTerm.Builder

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

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

    • simpleScopeTerm

      JobScopeTerm.Builder simpleScopeTerm(SimpleScopeTerm simpleScopeTerm)

      A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.

      Parameters:
      simpleScopeTerm - A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • simpleScopeTerm

      default JobScopeTerm.Builder simpleScopeTerm(Consumer<SimpleScopeTerm.Builder> simpleScopeTerm)

      A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.

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

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

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

      JobScopeTerm.Builder tagScopeTerm(TagScopeTerm tagScopeTerm)

      A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.

      Parameters:
      tagScopeTerm - A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagScopeTerm

      default JobScopeTerm.Builder tagScopeTerm(Consumer<TagScopeTerm.Builder> tagScopeTerm)

      A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.

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

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

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