Codota Logo
PutAttributesRequest.setExpected
Code IndexAdd Codota to your IDE (free)

How to use
setExpected
method
in
com.amazonaws.services.simpledb.model.PutAttributesRequest

Best Java code snippets using com.amazonaws.services.simpledb.model.PutAttributesRequest.setExpected (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: aws/aws-sdk-java

/**
 * The update condition which, if specified, determines whether the specified attributes will be updated or not. The
 * update condition must be satisfied in order for this request to be processed and the attributes to be updated.
 * 
 * @param expected
 *        The update condition which, if specified, determines whether the specified attributes will be updated or
 *        not. The update condition must be satisfied in order for this request to be processed and the attributes
 *        to be updated.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public PutAttributesRequest withExpected(UpdateCondition expected) {
  setExpected(expected);
  return this;
}
origin: aws/aws-sdk-java

/**
 * Constructs a new PutAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param domainName
 *        The name of the domain in which to perform the operation.
 * @param itemName
 *        The name of the item.
 * @param attributes
 *        The list of attributes.
 * @param expected
 *        The update condition which, if specified, determines whether the specified attributes will be updated or
 *        not. The update condition must be satisfied in order for this request to be processed and the attributes
 *        to be updated.
 */
public PutAttributesRequest(String domainName, String itemName, java.util.List<ReplaceableAttribute> attributes, UpdateCondition expected) {
  setDomainName(domainName);
  setItemName(itemName);
  setAttributes(attributes);
  setExpected(expected);
}
origin: Netflix/Priam

/**
 * Register a new instance. Registration will fail if a prior entry exists
 *
 * @param instance Instance entry to be registered.
 * @throws AmazonServiceException If unable to write to Simple DB because of any error.
 */
public void registerInstance(PriamInstance instance) throws AmazonServiceException {
  AmazonSimpleDB simpleDBClient = getSimpleDBClient();
  PutAttributesRequest putReq =
      new PutAttributesRequest(
          DOMAIN, getKey(instance), createAttributesToRegister(instance));
  UpdateCondition expected = new UpdateCondition();
  expected.setName(Attributes.INSTANCE_ID);
  expected.setExists(false);
  putReq.setExpected(expected);
  simpleDBClient.putAttributes(putReq);
}
origin: aws-amplify/aws-sdk-android

/**
 * Constructs a new PutAttributesRequest object.
 * Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param domainName The name of the domain in which to perform the
 * operation.
 * @param itemName The name of the item.
 * @param attributes The list of attributes.
 * @param expected The update condition which, if specified, determines
 * whether the specified attributes will be updated or not. The update
 * condition must be satisfied in order for this request to be processed
 * and the attributes to be updated.
 */
public PutAttributesRequest(String domainName, String itemName, java.util.List<ReplaceableAttribute> attributes, UpdateCondition expected) {
  setDomainName(domainName);
  setItemName(itemName);
  setAttributes(attributes);
  setExpected(expected);
}
origin: com.amazonaws/aws-java-sdk-simpledb

/**
 * The update condition which, if specified, determines whether the specified attributes will be updated or not. The
 * update condition must be satisfied in order for this request to be processed and the attributes to be updated.
 * 
 * @param expected
 *        The update condition which, if specified, determines whether the specified attributes will be updated or
 *        not. The update condition must be satisfied in order for this request to be processed and the attributes
 *        to be updated.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public PutAttributesRequest withExpected(UpdateCondition expected) {
  setExpected(expected);
  return this;
}
origin: com.amazonaws/aws-java-sdk-simpledb

/**
 * Constructs a new PutAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param domainName
 *        The name of the domain in which to perform the operation.
 * @param itemName
 *        The name of the item.
 * @param attributes
 *        The list of attributes.
 * @param expected
 *        The update condition which, if specified, determines whether the specified attributes will be updated or
 *        not. The update condition must be satisfied in order for this request to be processed and the attributes
 *        to be updated.
 */
public PutAttributesRequest(String domainName, String itemName, java.util.List<ReplaceableAttribute> attributes, UpdateCondition expected) {
  setDomainName(domainName);
  setItemName(itemName);
  setAttributes(attributes);
  setExpected(expected);
}
com.amazonaws.services.simpledb.modelPutAttributesRequestsetExpected

Javadoc

The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.

Popular methods of PutAttributesRequest

  • <init>
    Constructs a new PutAttributesRequest object. Callers should use the setter or fluent setter (with..
  • withAttributes
    The list of attributes.NOTE: This method appends the values to the existing list (if any). Use #setA
  • withDomainName
    The name of the domain in which to perform the operation.
  • withItemName
    The name of the item.
  • getAttributes
    The list of attributes.
  • getDomainName
    The name of the domain in which to perform the operation.
  • getExpected
    The update condition which, if specified, determines whether the specified attributes will be update
  • getItemName
    The name of the item.
  • setAttributes
    The list of attributes.
  • setDomainName
    The name of the domain in which to perform the operation.
  • setItemName
    The name of the item.
  • withExpected
    The update condition which, if specified, determines whether the specified attributes will be update
  • setItemName,
  • withExpected

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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