CreateRuleGroupRequest.getMetricName
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.amazonaws.services.waf.model.CreateRuleGroupRequest.getMetricName(Showing top 15 results out of 315)

origin: aws/aws-sdk-java

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
  hashCode = prime * hashCode + ((getMetricName() == null) ? 0 : getMetricName().hashCode());
  hashCode = prime * hashCode + ((getChangeToken() == null) ? 0 : getChangeToken().hashCode());
  return hashCode;
}
origin: aws/aws-sdk-java

/**
 * Marshall the given parameter object.
 */
public void marshall(CreateRuleGroupRequest createRuleGroupRequest, ProtocolMarshaller protocolMarshaller) {
  if (createRuleGroupRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(createRuleGroupRequest.getName(), NAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getMetricName(), METRICNAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getChangeToken(), CHANGETOKEN_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: aws/aws-sdk-java

/**
 * Returns a string representation of this object; useful for testing and debugging.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getName() != null)
    sb.append("Name: ").append(getName()).append(",");
  if (getMetricName() != null)
    sb.append("MetricName: ").append(getMetricName()).append(",");
  if (getChangeToken() != null)
    sb.append("ChangeToken: ").append(getChangeToken());
  sb.append("}");
  return sb.toString();
}
origin: aws/aws-sdk-java

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof CreateRuleGroupRequest == false)
    return false;
  CreateRuleGroupRequest other = (CreateRuleGroupRequest) obj;
  if (other.getName() == null ^ this.getName() == null)
    return false;
  if (other.getName() != null && other.getName().equals(this.getName()) == false)
    return false;
  if (other.getMetricName() == null ^ this.getMetricName() == null)
    return false;
  if (other.getMetricName() != null && other.getMetricName().equals(this.getMetricName()) == false)
    return false;
  if (other.getChangeToken() == null ^ this.getChangeToken() == null)
    return false;
  if (other.getChangeToken() != null && other.getChangeToken().equals(this.getChangeToken()) == false)
    return false;
  return true;
}
origin: aws/aws-sdk-java

/**
 * Marshall the given parameter object.
 */
public void marshall(CreateRuleGroupRequest createRuleGroupRequest, ProtocolMarshaller protocolMarshaller) {
  if (createRuleGroupRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(createRuleGroupRequest.getName(), NAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getMetricName(), METRICNAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getChangeToken(), CHANGETOKEN_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: com.amazonaws/aws-java-sdk-osgi

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
  hashCode = prime * hashCode + ((getMetricName() == null) ? 0 : getMetricName().hashCode());
  hashCode = prime * hashCode + ((getChangeToken() == null) ? 0 : getChangeToken().hashCode());
  return hashCode;
}
origin: com.amazonaws/aws-java-sdk-bundle

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
  hashCode = prime * hashCode + ((getMetricName() == null) ? 0 : getMetricName().hashCode());
  hashCode = prime * hashCode + ((getChangeToken() == null) ? 0 : getChangeToken().hashCode());
  return hashCode;
}
origin: com.amazonaws/aws-java-sdk-osgi

/**
 * Marshall the given parameter object.
 */
public void marshall(CreateRuleGroupRequest createRuleGroupRequest, ProtocolMarshaller protocolMarshaller) {
  if (createRuleGroupRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(createRuleGroupRequest.getName(), NAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getMetricName(), METRICNAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getChangeToken(), CHANGETOKEN_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: com.amazonaws/aws-java-sdk-osgi

/**
 * Marshall the given parameter object.
 */
public void marshall(CreateRuleGroupRequest createRuleGroupRequest, ProtocolMarshaller protocolMarshaller) {
  if (createRuleGroupRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(createRuleGroupRequest.getName(), NAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getMetricName(), METRICNAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getChangeToken(), CHANGETOKEN_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: com.amazonaws/aws-java-sdk-bundle

/**
 * Marshall the given parameter object.
 */
public void marshall(CreateRuleGroupRequest createRuleGroupRequest, ProtocolMarshaller protocolMarshaller) {
  if (createRuleGroupRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(createRuleGroupRequest.getName(), NAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getMetricName(), METRICNAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getChangeToken(), CHANGETOKEN_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: com.amazonaws/aws-java-sdk-bundle

/**
 * Marshall the given parameter object.
 */
public void marshall(CreateRuleGroupRequest createRuleGroupRequest, ProtocolMarshaller protocolMarshaller) {
  if (createRuleGroupRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(createRuleGroupRequest.getName(), NAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getMetricName(), METRICNAME_BINDING);
    protocolMarshaller.marshall(createRuleGroupRequest.getChangeToken(), CHANGETOKEN_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: com.amazonaws/aws-java-sdk-osgi

/**
 * Returns a string representation of this object; useful for testing and debugging.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getName() != null)
    sb.append("Name: ").append(getName()).append(",");
  if (getMetricName() != null)
    sb.append("MetricName: ").append(getMetricName()).append(",");
  if (getChangeToken() != null)
    sb.append("ChangeToken: ").append(getChangeToken());
  sb.append("}");
  return sb.toString();
}
origin: com.amazonaws/aws-java-sdk-bundle

/**
 * Returns a string representation of this object; useful for testing and debugging.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getName() != null)
    sb.append("Name: ").append(getName()).append(",");
  if (getMetricName() != null)
    sb.append("MetricName: ").append(getMetricName()).append(",");
  if (getChangeToken() != null)
    sb.append("ChangeToken: ").append(getChangeToken());
  sb.append("}");
  return sb.toString();
}
origin: com.amazonaws/aws-java-sdk-osgi

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof CreateRuleGroupRequest == false)
    return false;
  CreateRuleGroupRequest other = (CreateRuleGroupRequest) obj;
  if (other.getName() == null ^ this.getName() == null)
    return false;
  if (other.getName() != null && other.getName().equals(this.getName()) == false)
    return false;
  if (other.getMetricName() == null ^ this.getMetricName() == null)
    return false;
  if (other.getMetricName() != null && other.getMetricName().equals(this.getMetricName()) == false)
    return false;
  if (other.getChangeToken() == null ^ this.getChangeToken() == null)
    return false;
  if (other.getChangeToken() != null && other.getChangeToken().equals(this.getChangeToken()) == false)
    return false;
  return true;
}
origin: com.amazonaws/aws-java-sdk-bundle

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof CreateRuleGroupRequest == false)
    return false;
  CreateRuleGroupRequest other = (CreateRuleGroupRequest) obj;
  if (other.getName() == null ^ this.getName() == null)
    return false;
  if (other.getName() != null && other.getName().equals(this.getName()) == false)
    return false;
  if (other.getMetricName() == null ^ this.getMetricName() == null)
    return false;
  if (other.getMetricName() != null && other.getMetricName().equals(this.getMetricName()) == false)
    return false;
  if (other.getChangeToken() == null ^ this.getChangeToken() == null)
    return false;
  if (other.getChangeToken() != null && other.getChangeToken().equals(this.getChangeToken()) == false)
    return false;
  return true;
}
com.amazonaws.services.waf.modelCreateRuleGroupRequestgetMetricName

Javadoc

A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the RuleGroup.

Popular methods of CreateRuleGroupRequest

  • getChangeToken
    The value returned by the most recent call to GetChangeToken.
  • getName
    A friendly name or description of the RuleGroup. You can't change Name after you create aRuleGroup.
  • setChangeToken
    The value returned by the most recent call to GetChangeToken.
  • setMetricName
    A friendly name or description for the metrics for this RuleGroup. The name can contain only alphan
  • setName
    A friendly name or description of the RuleGroup. You can't change Name after you create aRuleGroup.

Popular classes and methods

  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
    Returns a new BigDecimal instance with the specified scale. If the new scale is greater than the old
  • GridBagLayout (java.awt)
  • Kernel (java.awt.image)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)