|
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.
Constructor Summary | |
---|---|
Source()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPassword()
The repository's password. |
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()
The user name. |
int |
hashCode()
|
void |
setPassword(String password)
The repository's password. |
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)
The user name. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Source |
withPassword(String password)
The repository's password. |
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)
The user name. |
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()
public void setUsername(String username)
username
- The user name.public Source withUsername(String username)
Returns a reference to this object so that method calls can be chained together.
username
- The user name.
public String getPassword()
public void setPassword(String password)
password
- The repository's password.public Source withPassword(String password)
Returns a reference to this object so that method calls can be chained together.
password
- The repository's 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 |