Interface DaemonRevision.Builder

  • Method Details

    • daemonRevisionArn

      DaemonRevision.Builder daemonRevisionArn(String daemonRevisionArn)

      The Amazon Resource Name (ARN) of the daemon revision.

      Parameters:
      daemonRevisionArn - The Amazon Resource Name (ARN) of the daemon revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterArn

      DaemonRevision.Builder clusterArn(String clusterArn)

      The Amazon Resource Name (ARN) of the cluster that hosts the daemon.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the cluster that hosts the daemon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • daemonArn

      DaemonRevision.Builder daemonArn(String daemonArn)

      The Amazon Resource Name (ARN) of the daemon for this revision.

      Parameters:
      daemonArn - The Amazon Resource Name (ARN) of the daemon for this revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • daemonTaskDefinitionArn

      DaemonRevision.Builder daemonTaskDefinitionArn(String daemonTaskDefinitionArn)

      The Amazon Resource Name (ARN) of the daemon task definition used by this revision.

      Parameters:
      daemonTaskDefinitionArn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      DaemonRevision.Builder createdAt(Instant createdAt)

      The Unix timestamp for the time when the daemon revision was created.

      Parameters:
      createdAt - The Unix timestamp for the time when the daemon revision was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerImages

      DaemonRevision.Builder containerImages(Collection<DaemonContainerImage> containerImages)

      The container images used by the daemon revision.

      Parameters:
      containerImages - The container images used by the daemon revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerImages

      DaemonRevision.Builder containerImages(DaemonContainerImage... containerImages)

      The container images used by the daemon revision.

      Parameters:
      containerImages - The container images used by the daemon revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerImages

      DaemonRevision.Builder containerImages(Consumer<DaemonContainerImage.Builder>... containerImages)

      The container images used by the daemon revision.

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

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

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

      DaemonRevision.Builder propagateTags(String propagateTags)

      Specifies whether tags are propagated from the daemon to the daemon tasks.

      Parameters:
      propagateTags - Specifies whether tags are propagated from the daemon to the daemon tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propagateTags

      DaemonRevision.Builder propagateTags(DaemonPropagateTags propagateTags)

      Specifies whether tags are propagated from the daemon to the daemon tasks.

      Parameters:
      propagateTags - Specifies whether tags are propagated from the daemon to the daemon tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enableECSManagedTags

      DaemonRevision.Builder enableECSManagedTags(Boolean enableECSManagedTags)

      Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.

      Parameters:
      enableECSManagedTags - Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableExecuteCommand

      DaemonRevision.Builder enableExecuteCommand(Boolean enableExecuteCommand)

      Specifies whether the execute command functionality is turned on for the daemon tasks.

      Parameters:
      enableExecuteCommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.