@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRepositorySyncDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRepositorySyncDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListRepositorySyncDefinitionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates the location of the next repository sync definition in the array of repository sync
definitions, after the current requested list of repository sync definitions.
|
List<RepositorySyncDefinition> |
getSyncDefinitions()
An array of repository sync definitions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next repository sync definition in the array of repository sync
definitions, after the current requested list of repository sync definitions.
|
void |
setSyncDefinitions(Collection<RepositorySyncDefinition> syncDefinitions)
An array of repository sync definitions.
|
String |
toString()
Returns a string representation of this object.
|
ListRepositorySyncDefinitionsResult |
withNextToken(String nextToken)
A token that indicates the location of the next repository sync definition in the array of repository sync
definitions, after the current requested list of repository sync definitions.
|
ListRepositorySyncDefinitionsResult |
withSyncDefinitions(Collection<RepositorySyncDefinition> syncDefinitions)
An array of repository sync definitions.
|
ListRepositorySyncDefinitionsResult |
withSyncDefinitions(RepositorySyncDefinition... syncDefinitions)
An array of repository sync definitions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the current requested list of repository sync definitions.
nextToken
- A token that indicates the location of the next repository sync definition in the array of repository sync
definitions, after the current requested list of repository sync definitions.public String getNextToken()
A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the current requested list of repository sync definitions.
public ListRepositorySyncDefinitionsResult withNextToken(String nextToken)
A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the current requested list of repository sync definitions.
nextToken
- A token that indicates the location of the next repository sync definition in the array of repository sync
definitions, after the current requested list of repository sync definitions.public List<RepositorySyncDefinition> getSyncDefinitions()
An array of repository sync definitions.
public void setSyncDefinitions(Collection<RepositorySyncDefinition> syncDefinitions)
An array of repository sync definitions.
syncDefinitions
- An array of repository sync definitions.public ListRepositorySyncDefinitionsResult withSyncDefinitions(RepositorySyncDefinition... syncDefinitions)
An array of repository sync definitions.
NOTE: This method appends the values to the existing list (if any). Use
setSyncDefinitions(java.util.Collection)
or withSyncDefinitions(java.util.Collection)
if you
want to override the existing values.
syncDefinitions
- An array of repository sync definitions.public ListRepositorySyncDefinitionsResult withSyncDefinitions(Collection<RepositorySyncDefinition> syncDefinitions)
An array of repository sync definitions.
syncDefinitions
- An array of repository sync definitions.public String toString()
toString
in class Object
Object.toString()
public ListRepositorySyncDefinitionsResult clone()