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

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

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.EcsParameters$Builder.networkConfiguration (Showing top 2 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: 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: 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$BuildernetworkConfiguration

Javadoc

Use this structure if the ECS task uses the awsvpc 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 LaunchType is FARGATE because the awsvpc mode is required for Fargate tasks.

If you specify NetworkConfiguration when the target ECS task does not use the awsvpc network mode, the task fails.

This is a convenience that creates an instance of the NetworkConfiguration.Builder avoiding the need to create one manually via NetworkConfiguration#builder(). When the Consumer completes, NetworkConfiguration.Builder#build() is called immediately and its result is passed to #networkConfiguration(NetworkConfiguration).

Popular methods of EcsParameters$Builder

  • applyMutation
  • build
  • 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

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
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