Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class Field

java.lang.Object
  extended by com.amazonaws.services.datapipeline.model.Field
All Implemented Interfaces:
Serializable

public class Field
extends Object
implements Serializable

A key-value pair that describes a property of a pipeline object. The value is specified as either a string value ( StringValue ) or a reference to another object ( RefValue ) but not as both.

See Also:
Serialized Form

Constructor Summary
Field()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getKey()
          The field identifier.
 String getRefValue()
          The field value, expressed as the identifier of another object.
 String getStringValue()
          The field value, expressed as a String.
 int hashCode()
           
 void setKey(String key)
          The field identifier.
 void setRefValue(String refValue)
          The field value, expressed as the identifier of another object.
 void setStringValue(String stringValue)
          The field value, expressed as a String.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Field withKey(String key)
          The field identifier.
 Field withRefValue(String refValue)
          The field value, expressed as the identifier of another object.
 Field withStringValue(String stringValue)
          The field value, expressed as a String.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Field

public Field()
Method Detail

getKey

public String getKey()
The field identifier.

Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*

Returns:
The field identifier.

setKey

public void setKey(String key)
The field identifier.

Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*

Parameters:
key - The field identifier.

withKey

public Field withKey(String key)
The field identifier.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*

Parameters:
key - The field identifier.
Returns:
A reference to this updated object so that method calls can be chained together.

getStringValue

public String getStringValue()
The field value, expressed as a String.

Constraints:
Length: 0 - 10240
Pattern: [ -??-??-?\r\n\t]*

Returns:
The field value, expressed as a String.

setStringValue

public void setStringValue(String stringValue)
The field value, expressed as a String.

Constraints:
Length: 0 - 10240
Pattern: [ -??-??-?\r\n\t]*

Parameters:
stringValue - The field value, expressed as a String.

withStringValue

public Field withStringValue(String stringValue)
The field value, expressed as a String.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 10240
Pattern: [ -??-??-?\r\n\t]*

Parameters:
stringValue - The field value, expressed as a String.
Returns:
A reference to this updated object so that method calls can be chained together.

getRefValue

public String getRefValue()
The field value, expressed as the identifier of another object.

Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*

Returns:
The field value, expressed as the identifier of another object.

setRefValue

public void setRefValue(String refValue)
The field value, expressed as the identifier of another object.

Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*

Parameters:
refValue - The field value, expressed as the identifier of another object.

withRefValue

public Field withRefValue(String refValue)
The field value, expressed as the identifier of another object.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*

Parameters:
refValue - The field value, expressed as the identifier of another object.
Returns:
A reference to this updated object so that method calls can be chained together.

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.