Interface Code.Builder

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

@Mutable @NotThreadSafe public static interface Code.Builder extends SdkPojo, CopyableBuilder<Code.Builder,Code>
  • Method Details

    • s3Location

      Code.Builder s3Location(S3Location s3Location)

      The Amazon S3 location of the code artifacts that your workflow tasks use during execution.

      Parameters:
      s3Location - The Amazon S3 location of the code artifacts that your workflow tasks use during execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Location

      default Code.Builder s3Location(Consumer<S3Location.Builder> s3Location)

      The Amazon S3 location of the code artifacts that your workflow tasks use during execution.

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

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

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