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

    • s3

      The Amazon Amazon S3 object that contains the source code for the agent runtime.

      Parameters:
      s3 - The Amazon Amazon S3 object that contains the source code for the agent runtime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3

      The Amazon Amazon S3 object that contains the source code for the agent runtime.

      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 s3(S3Location).

      Parameters:
      s3 - 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: