@NotThreadSafe public class ContentManagerBuilder extends Object
ContentManager.
 Use of the builder is required instead of constructors of the client class.| Constructor and Description | 
|---|
ContentManagerBuilder()  | 
| Modifier and Type | Method and Description | 
|---|---|
ContentManager | 
build()
Construct ContentManager using the current builder configuration. 
 | 
static ContentManager | 
defaultContentManager()  | 
String | 
getAuthenticationToken()
Gets authentication token for Amazon WorkDocs calls. 
 | 
AmazonWorkDocs | 
getWorkDocsClient()
Gets WorkDocs client. 
 | 
void | 
setAuthenticationToken(String authenticationToken)
Sets authentication token for Amazon WorkDocs calls. 
 | 
void | 
setWorkDocsClient(AmazonWorkDocs workDocsClient)
Sets the low level client used to make the service calls to Amazon
 WorkDocs. 
 | 
static ContentManagerBuilder | 
standard()  | 
ContentManagerBuilder | 
withAuthenticationToken(String authenticationToken)
Sets authentication token for Amazon WorkDocs calls. 
 | 
ContentManagerBuilder | 
withWorkDocsClient(AmazonWorkDocs workDocsClient)
Sets the low level client used to make the service calls to Amazon
 WorkDocs. 
 | 
public static ContentManagerBuilder standard()
public static ContentManager defaultContentManager()
public ContentManagerBuilder withWorkDocsClient(AmazonWorkDocs workDocsClient)
workDocsClient - Client implementation to use.public final void setWorkDocsClient(AmazonWorkDocs workDocsClient)
workDocsClient - Client implementation to use.public final AmazonWorkDocs getWorkDocsClient()
public ContentManagerBuilder withAuthenticationToken(String authenticationToken)
authenticationToken - Token retrieved by OAuth flow.public final void setAuthenticationToken(String authenticationToken)
authenticationToken - Token retrieved by OAuth flow.public final String getAuthenticationToken()
public ContentManager build()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.