congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
RuleState
Code IndexAdd Tabnine to your IDE (free)

How to use
RuleState
in
software.amazon.awssdk.services.cloudwatchevents.model

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

origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Specifies whether the rule is enabled or disabled.
 * </p>
 * <p>
 * If the service returns an enum value that is not available in the current SDK version, {@link #state} will return
 * {@link RuleState#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from
 * {@link #stateAsString}.
 * </p>
 * 
 * @return Specifies whether the rule is enabled or disabled.
 * @see RuleState
 */
public RuleState state() {
  return RuleState.fromValue(state);
}
origin: aws/aws-sdk-java-v2

/**
 * Use this in place of valueOf to convert the raw string returned by the service into the enum value.
 *
 * @param value
 *        real value
 * @return RuleState corresponding to the value
 */
public static RuleState fromValue(String value) {
  if (value == null) {
    return null;
  }
  return Stream.of(RuleState.values()).filter(e -> e.toString().equals(value)).findFirst().orElse(UNKNOWN_TO_SDK_VERSION);
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: aws/aws-sdk-java-v2

  /**
   * Use this in place of {@link #values()} to return a {@link Set} of all values known to the SDK. This will return
   * all known enum values except {@link #UNKNOWN_TO_SDK_VERSION}.
   *
   * @return a {@link Set} of known {@link RuleState}s
   */
  public static Set<RuleState> knownValues() {
    return Stream.of(values()).filter(v -> v != UNKNOWN_TO_SDK_VERSION).collect(toSet());
  }
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * Use this in place of valueOf to convert the raw string returned by the service into the enum value.
 *
 * @param value
 *        real value
 * @return RuleState corresponding to the value
 */
public static RuleState fromValue(String value) {
  if (value == null) {
    return null;
  }
  return Stream.of(RuleState.values()).filter(e -> e.toString().equals(value)).findFirst().orElse(UNKNOWN_TO_SDK_VERSION);
}
origin: software.amazon.awssdk/events

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: software.amazon.awssdk/cloudwatchevents

  /**
   * Use this in place of {@link #values()} to return a {@link Set} of all values known to the SDK. This will return
   * all known enum values except {@link #UNKNOWN_TO_SDK_VERSION}.
   *
   * @return a {@link Set} of known {@link RuleState}s
   */
  public static Set<RuleState> knownValues() {
    return Stream.of(values()).filter(v -> v != UNKNOWN_TO_SDK_VERSION).collect(toSet());
  }
}
origin: software.amazon.awssdk/events

/**
 * Use this in place of valueOf to convert the raw string returned by the service into the enum value.
 *
 * @param value
 *        real value
 * @return RuleState corresponding to the value
 */
public static RuleState fromValue(String value) {
  if (value == null) {
    return null;
  }
  return Stream.of(RuleState.values()).filter(e -> e.toString().equals(value)).findFirst().orElse(UNKNOWN_TO_SDK_VERSION);
}
origin: aws/aws-sdk-java-v2

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * The state of the rule.
 * </p>
 * <p>
 * If the service returns an enum value that is not available in the current SDK version, {@link #state} will return
 * {@link RuleState#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from
 * {@link #stateAsString}.
 * </p>
 * 
 * @return The state of the rule.
 * @see RuleState
 */
public RuleState state() {
  return RuleState.fromValue(state);
}
origin: software.amazon.awssdk/events

  /**
   * Use this in place of {@link #values()} to return a {@link Set} of all values known to the SDK. This will return
   * all known enum values except {@link #UNKNOWN_TO_SDK_VERSION}.
   *
   * @return a {@link Set} of known {@link RuleState}s
   */
  public static Set<RuleState> knownValues() {
    return Stream.of(values()).filter(v -> v != UNKNOWN_TO_SDK_VERSION).collect(toSet());
  }
}
origin: aws/aws-sdk-java-v2

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Indicates whether the rule is enabled or disabled.
 * </p>
 * <p>
 * If the service returns an enum value that is not available in the current SDK version, {@link #state} will return
 * {@link RuleState#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from
 * {@link #stateAsString}.
 * </p>
 * 
 * @return Indicates whether the rule is enabled or disabled.
 * @see RuleState
 */
public RuleState state() {
  return RuleState.fromValue(state);
}
origin: aws/aws-sdk-java-v2

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Specifies whether the rule is enabled or disabled.
 * </p>
 * <p>
 * If the service returns an enum value that is not available in the current SDK version, {@link #state} will return
 * {@link RuleState#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from
 * {@link #stateAsString}.
 * </p>
 * 
 * @return Specifies whether the rule is enabled or disabled.
 * @see RuleState
 */
public RuleState state() {
  return RuleState.fromValue(state);
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * The state of the rule.
 * </p>
 * <p>
 * If the service returns an enum value that is not available in the current SDK version, {@link #state} will return
 * {@link RuleState#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from
 * {@link #stateAsString}.
 * </p>
 * 
 * @return The state of the rule.
 * @see RuleState
 */
public RuleState state() {
  return RuleState.fromValue(state);
}
origin: software.amazon.awssdk/events

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
origin: software.amazon.awssdk/events

/**
 * <p>
 * Indicates whether the rule is enabled or disabled.
 * </p>
 * <p>
 * If the service returns an enum value that is not available in the current SDK version, {@link #state} will return
 * {@link RuleState#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from
 * {@link #stateAsString}.
 * </p>
 * 
 * @return Indicates whether the rule is enabled or disabled.
 * @see RuleState
 */
public RuleState state() {
  return RuleState.fromValue(state);
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public final Builder state(RuleState state) {
  this.state(state.toString());
  return this;
}
software.amazon.awssdk.services.cloudwatchevents.modelRuleState

Most used methods

  • fromValue
    Use this in place of valueOf to convert the raw string returned by the service into the enum value.
  • toString
  • values

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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