Class GetAttributesRequest

    • Constructor Detail

      • GetAttributesRequest

        public GetAttributesRequest()
        Default constructor for GetAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • GetAttributesRequest

        public GetAttributesRequest​(String domainName,
                                    String itemName)
        Constructs a new GetAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        domainName - The name of the domain in which to perform the operation.
        itemName - The name of the item.
    • Method Detail

      • setDomainName

        public void setDomainName​(String domainName)
        The name of the domain in which to perform the operation.
        Parameters:
        domainName - The name of the domain in which to perform the operation.
      • getDomainName

        public String getDomainName()
        The name of the domain in which to perform the operation.
        Returns:
        The name of the domain in which to perform the operation.
      • withDomainName

        public GetAttributesRequest withDomainName​(String domainName)
        The name of the domain in which to perform the operation.
        Parameters:
        domainName - The name of the domain in which to perform the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setItemName

        public void setItemName​(String itemName)
        The name of the item.
        Parameters:
        itemName - The name of the item.
      • getItemName

        public String getItemName()
        The name of the item.
        Returns:
        The name of the item.
      • withItemName

        public GetAttributesRequest withItemName​(String itemName)
        The name of the item.
        Parameters:
        itemName - The name of the item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAttributeNames

        public List<String> getAttributeNames()
        The names of the attributes.
        Returns:
        The names of the attributes.
      • setAttributeNames

        public void setAttributeNames​(Collection<String> attributeNames)
        The names of the attributes.
        Parameters:
        attributeNames - The names of the attributes.
      • withAttributeNames

        public GetAttributesRequest withAttributeNames​(Collection<String> attributeNames)
        The names of the attributes.
        Parameters:
        attributeNames - The names of the attributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConsistentRead

        public void setConsistentRead​(Boolean consistentRead)
        Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
        Parameters:
        consistentRead - Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
      • getConsistentRead

        public Boolean getConsistentRead()
        Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
        Returns:
        Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
      • withConsistentRead

        public GetAttributesRequest withConsistentRead​(Boolean consistentRead)
        Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
        Parameters:
        consistentRead - Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isConsistentRead

        public Boolean isConsistentRead()
        Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
        Returns:
        Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object