Tabnine Logo
EcsParameters.taskCount
Code IndexAdd Tabnine to your IDE (free)

How to use
taskCount
method
in
software.amazon.awssdk.services.cloudwatchevents.model.EcsParameters

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

origin: software.amazon.awssdk/events

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(taskDefinitionArn());
  hashCode = 31 * hashCode + Objects.hashCode(taskCount());
  return hashCode;
}
origin: software.amazon.awssdk/events

@Override
public String toString() {
  return ToString.builder("EcsParameters").add("TaskDefinitionArn", taskDefinitionArn()).add("TaskCount", taskCount())
      .build();
}
origin: software.amazon.awssdk/events

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "TaskDefinitionArn":
    return Optional.ofNullable(clazz.cast(taskDefinitionArn()));
  case "TaskCount":
    return Optional.ofNullable(clazz.cast(taskCount()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/events

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof EcsParameters)) {
    return false;
  }
  EcsParameters other = (EcsParameters) obj;
  return Objects.equals(taskDefinitionArn(), other.taskDefinitionArn()) && Objects.equals(taskCount(), other.taskCount());
}
origin: software.amazon.awssdk/events

  /**
   * Marshall the given parameter object
   */
  public void marshall(EcsParameters ecsParameters, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(ecsParameters, "ecsParameters");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(ecsParameters.taskDefinitionArn(), TASKDEFINITIONARN_BINDING);
      protocolMarshaller.marshall(ecsParameters.taskCount(), TASKCOUNT_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("EcsParameters").add("TaskDefinitionArn", taskDefinitionArn()).add("TaskCount", taskCount())
      .add("LaunchType", launchTypeAsString()).add("NetworkConfiguration", networkConfiguration())
      .add("PlatformVersion", platformVersion()).add("Group", group()).build();
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("EcsParameters").add("TaskDefinitionArn", taskDefinitionArn()).add("TaskCount", taskCount())
      .add("LaunchType", launchTypeAsString()).add("NetworkConfiguration", networkConfiguration())
      .add("PlatformVersion", platformVersion()).add("Group", group()).build();
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(taskDefinitionArn());
  hashCode = 31 * hashCode + Objects.hashCode(taskCount());
  hashCode = 31 * hashCode + Objects.hashCode(launchTypeAsString());
  hashCode = 31 * hashCode + Objects.hashCode(networkConfiguration());
  hashCode = 31 * hashCode + Objects.hashCode(platformVersion());
  hashCode = 31 * hashCode + Objects.hashCode(group());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "TaskDefinitionArn":
    return Optional.ofNullable(clazz.cast(taskDefinitionArn()));
  case "TaskCount":
    return Optional.ofNullable(clazz.cast(taskCount()));
  case "LaunchType":
    return Optional.ofNullable(clazz.cast(launchTypeAsString()));
  case "NetworkConfiguration":
    return Optional.ofNullable(clazz.cast(networkConfiguration()));
  case "PlatformVersion":
    return Optional.ofNullable(clazz.cast(platformVersion()));
  case "Group":
    return Optional.ofNullable(clazz.cast(group()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(taskDefinitionArn());
  hashCode = 31 * hashCode + Objects.hashCode(taskCount());
  hashCode = 31 * hashCode + Objects.hashCode(launchTypeAsString());
  hashCode = 31 * hashCode + Objects.hashCode(networkConfiguration());
  hashCode = 31 * hashCode + Objects.hashCode(platformVersion());
  hashCode = 31 * hashCode + Objects.hashCode(group());
  return hashCode;
}
origin: software.amazon.awssdk/cloudwatchevents

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "TaskDefinitionArn":
    return Optional.ofNullable(clazz.cast(taskDefinitionArn()));
  case "TaskCount":
    return Optional.ofNullable(clazz.cast(taskCount()));
  case "LaunchType":
    return Optional.ofNullable(clazz.cast(launchTypeAsString()));
  case "NetworkConfiguration":
    return Optional.ofNullable(clazz.cast(networkConfiguration()));
  case "PlatformVersion":
    return Optional.ofNullable(clazz.cast(platformVersion()));
  case "Group":
    return Optional.ofNullable(clazz.cast(group()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof EcsParameters)) {
    return false;
  }
  EcsParameters other = (EcsParameters) obj;
  return Objects.equals(taskDefinitionArn(), other.taskDefinitionArn()) && Objects.equals(taskCount(), other.taskCount())
      && Objects.equals(launchTypeAsString(), other.launchTypeAsString())
      && Objects.equals(networkConfiguration(), other.networkConfiguration())
      && Objects.equals(platformVersion(), other.platformVersion()) && Objects.equals(group(), other.group());
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof EcsParameters)) {
    return false;
  }
  EcsParameters other = (EcsParameters) obj;
  return Objects.equals(taskDefinitionArn(), other.taskDefinitionArn()) && Objects.equals(taskCount(), other.taskCount())
      && Objects.equals(launchTypeAsString(), other.launchTypeAsString())
      && Objects.equals(networkConfiguration(), other.networkConfiguration())
      && Objects.equals(platformVersion(), other.platformVersion()) && Objects.equals(group(), other.group());
}
software.amazon.awssdk.services.cloudwatchevents.modelEcsParameterstaskCount

Javadoc

The number of tasks to create based on TaskDefinition. The default is 1.

Popular methods of EcsParameters

  • <init>
  • builder
  • taskDefinitionArn
    The ARN of the task definition to use if the event target is an Amazon ECS cluster.
  • toBuilder
  • group
    Specifies an ECS task group for the task. The maximum length is 255 characters.
  • launchTypeAsString
    Specifies the launch type on which your task is running. The launch type that you specify here must
  • networkConfiguration
    Use this structure if the ECS task uses the awsvpc network mode. This structure specifies the VPC s
  • platformVersion
    Specifies the platform version for the task. Specify only the numeric portion of the platform versi

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now