|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.opsworks.model.Source
public class Source
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks .
Constructor Summary | |
---|---|
Source()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPassword()
This parameter depends on the repository type. |
String |
getRevision()
The application's version. |
String |
getSshKey()
The repository's SSH key. |
String |
getType()
The repository type. |
String |
getUrl()
The source URL. |
String |
getUsername()
This parameter depends on the repository type. |
int |
hashCode()
|
void |
setPassword(String password)
This parameter depends on the repository type. |
void |
setRevision(String revision)
The application's version. |
void |
setSshKey(String sshKey)
The repository's SSH key. |
void |
setType(SourceType type)
The repository type. |
void |
setType(String type)
The repository type. |
void |
setUrl(String url)
The source URL. |
void |
setUsername(String username)
This parameter depends on the repository type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Source |
withPassword(String password)
This parameter depends on the repository type. |
Source |
withRevision(String revision)
The application's version. |
Source |
withSshKey(String sshKey)
The repository's SSH key. |
Source |
withType(SourceType type)
The repository type. |
Source |
withType(String type)
The repository type. |
Source |
withUrl(String url)
The source URL. |
Source |
withUsername(String username)
This parameter depends on the repository type. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Source()
Method Detail |
---|
public String getType()
Constraints:
Allowed Values: git, svn, archive, s3
SourceType
public void setType(String type)
Constraints:
Allowed Values: git, svn, archive, s3
type
- The repository type.SourceType
public Source withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: git, svn, archive, s3
type
- The repository type.
SourceType
public void setType(SourceType type)
Constraints:
Allowed Values: git, svn, archive, s3
type
- The repository type.SourceType
public Source withType(SourceType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: git, svn, archive, s3
type
- The repository type.
SourceType
public String getUrl()
public void setUrl(String url)
url
- The source URL.public Source withUrl(String url)
Returns a reference to this object so that method calls can be chained together.
url
- The source URL.
public String getUsername()
Username
to the appropriate AWS access
key.Username
to the user name.
Username
to the appropriate AWS access
key.Username
to the user name.public void setUsername(String username)
Username
to the appropriate AWS access
key.Username
to the user name.
username
- This parameter depends on the repository type. Username
to the appropriate AWS access
key.Username
to the user name.public Source withUsername(String username)
Username
to the appropriate AWS access
key.Username
to the user name.Returns a reference to this object so that method calls can be chained together.
username
- This parameter depends on the repository type. Username
to the appropriate AWS access
key.Username
to the user name.public String getPassword()
Password
to the appropriate AWS secret
key.Password
to the password.
Password
to the appropriate AWS secret
key.Password
to the password.public void setPassword(String password)
Password
to the appropriate AWS secret
key.Password
to the password.
password
- This parameter depends on the repository type. Password
to the appropriate AWS secret
key.Password
to the password.public Source withPassword(String password)
Password
to the appropriate AWS secret
key.Password
to the password.Returns a reference to this object so that method calls can be chained together.
password
- This parameter depends on the repository type. Password
to the appropriate AWS secret
key.Password
to the password.public String getSshKey()
public void setSshKey(String sshKey)
sshKey
- The repository's SSH key.public Source withSshKey(String sshKey)
Returns a reference to this object so that method calls can be chained together.
sshKey
- The repository's SSH key.
public String getRevision()
public void setRevision(String revision)
revision
- The application's version. OpsWorks enables you to easily deploy new
versions of an application. One of the simplest approaches is to have
branches or revisions in your repository that represent different
versions that can potentially be deployed.public Source withRevision(String revision)
Returns a reference to this object so that method calls can be chained together.
revision
- The application's version. OpsWorks enables you to easily deploy new
versions of an application. One of the simplest approaches is to have
branches or revisions in your repository that represent different
versions that can potentially be deployed.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |