@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSegmentReferencesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSegmentReferencesResult() |
Modifier and Type | Method and Description |
---|---|
ListSegmentReferencesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use in a subsequent
ListSegmentReferences operation to return the next set of results. |
List<RefResource> |
getReferencedBy()
An array of structures, where each structure contains information about one experiment or launch that uses this
segment.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use in a subsequent
ListSegmentReferences operation to return the next set of results. |
void |
setReferencedBy(Collection<RefResource> referencedBy)
An array of structures, where each structure contains information about one experiment or launch that uses this
segment.
|
String |
toString()
Returns a string representation of this object.
|
ListSegmentReferencesResult |
withNextToken(String nextToken)
The token to use in a subsequent
ListSegmentReferences operation to return the next set of results. |
ListSegmentReferencesResult |
withReferencedBy(Collection<RefResource> referencedBy)
An array of structures, where each structure contains information about one experiment or launch that uses this
segment.
|
ListSegmentReferencesResult |
withReferencedBy(RefResource... referencedBy)
An array of structures, where each structure contains information about one experiment or launch that uses this
segment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to use in a subsequent ListSegmentReferences
operation to return the next set of results.
nextToken
- The token to use in a subsequent ListSegmentReferences
operation to return the next set of
results.public String getNextToken()
The token to use in a subsequent ListSegmentReferences
operation to return the next set of results.
ListSegmentReferences
operation to return the next set of
results.public ListSegmentReferencesResult withNextToken(String nextToken)
The token to use in a subsequent ListSegmentReferences
operation to return the next set of results.
nextToken
- The token to use in a subsequent ListSegmentReferences
operation to return the next set of
results.public List<RefResource> getReferencedBy()
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
public void setReferencedBy(Collection<RefResource> referencedBy)
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
referencedBy
- An array of structures, where each structure contains information about one experiment or launch that uses
this segment.public ListSegmentReferencesResult withReferencedBy(RefResource... referencedBy)
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
NOTE: This method appends the values to the existing list (if any). Use
setReferencedBy(java.util.Collection)
or withReferencedBy(java.util.Collection)
if you want to
override the existing values.
referencedBy
- An array of structures, where each structure contains information about one experiment or launch that uses
this segment.public ListSegmentReferencesResult withReferencedBy(Collection<RefResource> referencedBy)
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
referencedBy
- An array of structures, where each structure contains information about one experiment or launch that uses
this segment.public String toString()
toString
in class Object
Object.toString()
public ListSegmentReferencesResult clone()