Codota Logo
EcsParameters$Builder
Code IndexAdd Codota to your IDE (free)

How to use
EcsParameters$Builder
in
software.amazon.awssdk.services.cloudwatchevents.model

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.EcsParameters$Builder (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: software.amazon.awssdk/events

    if (context.testExpression("TaskDefinitionArn", targetDepth)) {
      context.nextToken();
      ecsParametersBuilder.taskDefinitionArn(context.getUnmarshaller(String.class).unmarshall(context));
      ecsParametersBuilder.taskCount(context.getUnmarshaller(Integer.class).unmarshall(context));
return ecsParametersBuilder.build();
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task.
 * For more information about Amazon ECS tasks, see <a
 * href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task Definitions </a>
 * in the <i>Amazon EC2 Container Service Developer Guide</i>.
 * </p>
 * This is a convenience that creates an instance of the {@link EcsParameters.Builder} avoiding the need to
 * create one manually via {@link EcsParameters#builder()}.
 *
 * When the {@link Consumer} completes, {@link EcsParameters.Builder#build()} is called immediately and its
 * result is passed to {@link #ecsParameters(EcsParameters)}.
 * 
 * @param ecsParameters
 *        a consumer that will call methods on {@link EcsParameters.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #ecsParameters(EcsParameters)
 */
default Builder ecsParameters(Consumer<EcsParameters.Builder> ecsParameters) {
  return ecsParameters(EcsParameters.builder().applyMutation(ecsParameters).build());
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Use this structure if the ECS task uses the <code>awsvpc</code> network mode. This structure specifies the
 * VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This
 * structure is required if <code>LaunchType</code> is <code>FARGATE</code> because the <code>awsvpc</code> mode
 * is required for Fargate tasks.
 * </p>
 * <p>
 * If you specify <code>NetworkConfiguration</code> when the target ECS task does not use the
 * <code>awsvpc</code> network mode, the task fails.
 * </p>
 * This is a convenience that creates an instance of the {@link NetworkConfiguration.Builder} avoiding the need
 * to create one manually via {@link NetworkConfiguration#builder()}.
 *
 * When the {@link Consumer} completes, {@link NetworkConfiguration.Builder#build()} is called immediately and
 * its result is passed to {@link #networkConfiguration(NetworkConfiguration)}.
 * 
 * @param networkConfiguration
 *        a consumer that will call methods on {@link NetworkConfiguration.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #networkConfiguration(NetworkConfiguration)
 */
default Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) {
  return networkConfiguration(NetworkConfiguration.builder().applyMutation(networkConfiguration).build());
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task.
 * For more information about Amazon ECS tasks, see <a
 * href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task Definitions </a>
 * in the <i>Amazon EC2 Container Service Developer Guide</i>.
 * </p>
 * This is a convenience that creates an instance of the {@link EcsParameters.Builder} avoiding the need to
 * create one manually via {@link EcsParameters#builder()}.
 *
 * When the {@link Consumer} completes, {@link EcsParameters.Builder#build()} is called immediately and its
 * result is passed to {@link #ecsParameters(EcsParameters)}.
 * 
 * @param ecsParameters
 *        a consumer that will call methods on {@link EcsParameters.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #ecsParameters(EcsParameters)
 */
default Builder ecsParameters(Consumer<EcsParameters.Builder> ecsParameters) {
  return ecsParameters(EcsParameters.builder().applyMutation(ecsParameters).build());
}
origin: software.amazon.awssdk/events

  /**
   * <p>
   * Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task.
   * For more information about Amazon ECS tasks, see <a
   * href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task Definitions </a>
   * in the <i>Amazon EC2 Container Service Developer Guide</i>.
   * </p>
   * This is a convenience that creates an instance of the {@link EcsParameters.Builder} avoiding the need to
   * create one manually via {@link EcsParameters#builder()}.
   *
   * When the {@link Consumer} completes, {@link EcsParameters.Builder#build()} is called immediately and its
   * result is passed to {@link #ecsParameters(EcsParameters)}.
   * 
   * @param ecsParameters
   *        a consumer that will call methods on {@link EcsParameters.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #ecsParameters(EcsParameters)
   */
  default Builder ecsParameters(Consumer<EcsParameters.Builder> ecsParameters) {
    return ecsParameters(EcsParameters.builder().applyMutation(ecsParameters).build());
  }
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Use this structure if the ECS task uses the <code>awsvpc</code> network mode. This structure specifies the
 * VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This
 * structure is required if <code>LaunchType</code> is <code>FARGATE</code> because the <code>awsvpc</code> mode
 * is required for Fargate tasks.
 * </p>
 * <p>
 * If you specify <code>NetworkConfiguration</code> when the target ECS task does not use the
 * <code>awsvpc</code> network mode, the task fails.
 * </p>
 * This is a convenience that creates an instance of the {@link NetworkConfiguration.Builder} avoiding the need
 * to create one manually via {@link NetworkConfiguration#builder()}.
 *
 * When the {@link Consumer} completes, {@link NetworkConfiguration.Builder#build()} is called immediately and
 * its result is passed to {@link #networkConfiguration(NetworkConfiguration)}.
 * 
 * @param networkConfiguration
 *        a consumer that will call methods on {@link NetworkConfiguration.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #networkConfiguration(NetworkConfiguration)
 */
default Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) {
  return networkConfiguration(NetworkConfiguration.builder().applyMutation(networkConfiguration).build());
}
software.amazon.awssdk.services.cloudwatchevents.modelEcsParameters$Builder

Most used methods

  • applyMutation
  • build
  • networkConfiguration
  • taskCount
    The number of tasks to create based on the TaskDefinition. The default is one.
  • taskDefinitionArn
    The ARN of the task definition to use if the event target is an Amazon ECS cluster.

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • JOptionPane (javax.swing)
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now