@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceControlDetails extends Object implements Serializable, Cloneable, StructuredPojo
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
Constructor and Description |
---|
SourceControlDetails() |
Modifier and Type | Method and Description |
---|---|
SourceControlDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAuthStrategy()
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager,
or a personal access token.
|
String |
getAuthToken()
The value of an authorization token.
|
String |
getBranch()
An optional branch in the remote repository.
|
String |
getFolder()
An optional folder in the remote repository.
|
String |
getLastCommitId()
The last commit ID for a commit in the remote repository.
|
String |
getOwner()
The owner of the remote repository that contains the job artifacts.
|
String |
getProvider()
The provider for the remote repository.
|
String |
getRepository()
The name of the remote repository that contains the job artifacts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthStrategy(String authStrategy)
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager,
or a personal access token.
|
void |
setAuthToken(String authToken)
The value of an authorization token.
|
void |
setBranch(String branch)
An optional branch in the remote repository.
|
void |
setFolder(String folder)
An optional folder in the remote repository.
|
void |
setLastCommitId(String lastCommitId)
The last commit ID for a commit in the remote repository.
|
void |
setOwner(String owner)
The owner of the remote repository that contains the job artifacts.
|
void |
setProvider(String provider)
The provider for the remote repository.
|
void |
setRepository(String repository)
The name of the remote repository that contains the job artifacts.
|
String |
toString()
Returns a string representation of this object.
|
SourceControlDetails |
withAuthStrategy(SourceControlAuthStrategy authStrategy)
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager,
or a personal access token.
|
SourceControlDetails |
withAuthStrategy(String authStrategy)
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager,
or a personal access token.
|
SourceControlDetails |
withAuthToken(String authToken)
The value of an authorization token.
|
SourceControlDetails |
withBranch(String branch)
An optional branch in the remote repository.
|
SourceControlDetails |
withFolder(String folder)
An optional folder in the remote repository.
|
SourceControlDetails |
withLastCommitId(String lastCommitId)
The last commit ID for a commit in the remote repository.
|
SourceControlDetails |
withOwner(String owner)
The owner of the remote repository that contains the job artifacts.
|
SourceControlDetails |
withProvider(SourceControlProvider provider)
The provider for the remote repository.
|
SourceControlDetails |
withProvider(String provider)
The provider for the remote repository.
|
SourceControlDetails |
withRepository(String repository)
The name of the remote repository that contains the job artifacts.
|
public void setProvider(String provider)
The provider for the remote repository.
provider
- The provider for the remote repository.SourceControlProvider
public String getProvider()
The provider for the remote repository.
SourceControlProvider
public SourceControlDetails withProvider(String provider)
The provider for the remote repository.
provider
- The provider for the remote repository.SourceControlProvider
public SourceControlDetails withProvider(SourceControlProvider provider)
The provider for the remote repository.
provider
- The provider for the remote repository.SourceControlProvider
public void setRepository(String repository)
The name of the remote repository that contains the job artifacts.
repository
- The name of the remote repository that contains the job artifacts.public String getRepository()
The name of the remote repository that contains the job artifacts.
public SourceControlDetails withRepository(String repository)
The name of the remote repository that contains the job artifacts.
repository
- The name of the remote repository that contains the job artifacts.public void setOwner(String owner)
The owner of the remote repository that contains the job artifacts.
owner
- The owner of the remote repository that contains the job artifacts.public String getOwner()
The owner of the remote repository that contains the job artifacts.
public SourceControlDetails withOwner(String owner)
The owner of the remote repository that contains the job artifacts.
owner
- The owner of the remote repository that contains the job artifacts.public void setBranch(String branch)
An optional branch in the remote repository.
branch
- An optional branch in the remote repository.public String getBranch()
An optional branch in the remote repository.
public SourceControlDetails withBranch(String branch)
An optional branch in the remote repository.
branch
- An optional branch in the remote repository.public void setFolder(String folder)
An optional folder in the remote repository.
folder
- An optional folder in the remote repository.public String getFolder()
An optional folder in the remote repository.
public SourceControlDetails withFolder(String folder)
An optional folder in the remote repository.
folder
- An optional folder in the remote repository.public void setLastCommitId(String lastCommitId)
The last commit ID for a commit in the remote repository.
lastCommitId
- The last commit ID for a commit in the remote repository.public String getLastCommitId()
The last commit ID for a commit in the remote repository.
public SourceControlDetails withLastCommitId(String lastCommitId)
The last commit ID for a commit in the remote repository.
lastCommitId
- The last commit ID for a commit in the remote repository.public void setAuthStrategy(String authStrategy)
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
authStrategy
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets
Manager, or a personal access token.SourceControlAuthStrategy
public String getAuthStrategy()
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
SourceControlAuthStrategy
public SourceControlDetails withAuthStrategy(String authStrategy)
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
authStrategy
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets
Manager, or a personal access token.SourceControlAuthStrategy
public SourceControlDetails withAuthStrategy(SourceControlAuthStrategy authStrategy)
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
authStrategy
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets
Manager, or a personal access token.SourceControlAuthStrategy
public void setAuthToken(String authToken)
The value of an authorization token.
authToken
- The value of an authorization token.public String getAuthToken()
The value of an authorization token.
public SourceControlDetails withAuthToken(String authToken)
The value of an authorization token.
authToken
- The value of an authorization token.public String toString()
toString
in class Object
Object.toString()
public SourceControlDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.