public class ParameterObject
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a parameter object.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ParameterAttribute> |
attributes
The attributes of the parameter object.
|
private java.lang.String |
id
The ID of the parameter object.
|
Constructor and Description |
---|
ParameterObject() |
Modifier and Type | Method and Description |
---|---|
ParameterObject |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ParameterAttribute> |
getAttributes()
The attributes of the parameter object.
|
java.lang.String |
getId()
The ID of the parameter object.
|
int |
hashCode() |
void |
setAttributes(java.util.Collection<ParameterAttribute> attributes)
The attributes of the parameter object.
|
void |
setId(java.lang.String id)
The ID of the parameter object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParameterObject |
withAttributes(java.util.Collection<ParameterAttribute> attributes)
The attributes of the parameter object.
|
ParameterObject |
withAttributes(ParameterAttribute... attributes)
The attributes of the parameter object.
|
ParameterObject |
withId(java.lang.String id)
The ID of the parameter object.
|
private java.lang.String id
The ID of the parameter object.
private SdkInternalList<ParameterAttribute> attributes
The attributes of the parameter object.
public void setId(java.lang.String id)
The ID of the parameter object.
id
- The ID of the parameter object.public java.lang.String getId()
The ID of the parameter object.
public ParameterObject withId(java.lang.String id)
The ID of the parameter object.
id
- The ID of the parameter object.public java.util.List<ParameterAttribute> getAttributes()
The attributes of the parameter object.
public void setAttributes(java.util.Collection<ParameterAttribute> attributes)
The attributes of the parameter object.
attributes
- The attributes of the parameter object.public ParameterObject withAttributes(ParameterAttribute... attributes)
The attributes of the parameter object.
NOTE: This method appends the values to the existing list (if
any). Use setAttributes(java.util.Collection)
or
withAttributes(java.util.Collection)
if you want to override the
existing values.
attributes
- The attributes of the parameter object.public ParameterObject withAttributes(java.util.Collection<ParameterAttribute> attributes)
The attributes of the parameter object.
attributes
- The attributes of the parameter object.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ParameterObject clone()
clone
in class java.lang.Object