@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListConnectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListConnectorsResult() |
Modifier and Type | Method and Description |
---|---|
ListConnectorsResult |
clone() |
boolean |
equals(Object obj) |
List<ConnectorSummary> |
getConnectors()
An array of connector descriptions.
|
String |
getNextToken()
If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
int |
hashCode() |
void |
setConnectors(Collection<ConnectorSummary> connectors)
An array of connector descriptions.
|
void |
setNextToken(String nextToken)
If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
String |
toString()
Returns a string representation of this object.
|
ListConnectorsResult |
withConnectors(Collection<ConnectorSummary> connectors)
An array of connector descriptions.
|
ListConnectorsResult |
withConnectors(ConnectorSummary... connectors)
An array of connector descriptions.
|
ListConnectorsResult |
withNextToken(String nextToken)
If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ConnectorSummary> getConnectors()
An array of connector descriptions.
public void setConnectors(Collection<ConnectorSummary> connectors)
An array of connector descriptions.
connectors
- An array of connector descriptions.public ListConnectorsResult withConnectors(ConnectorSummary... connectors)
An array of connector descriptions.
NOTE: This method appends the values to the existing list (if any). Use
setConnectors(java.util.Collection)
or withConnectors(java.util.Collection)
if you want to
override the existing values.
connectors
- An array of connector descriptions.public ListConnectorsResult withConnectors(Collection<ConnectorSummary> connectors)
An array of connector descriptions.
connectors
- An array of connector descriptions.public void setNextToken(String nextToken)
If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
nextToken
- If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this
NextToken in a subsequent request to continue listing from where it left off.public String getNextToken()
If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
public ListConnectorsResult withNextToken(String nextToken)
If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
nextToken
- If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this
NextToken in a subsequent request to continue listing from where it left off.public String toString()
toString
in class Object
Object.toString()
public ListConnectorsResult clone()