@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateJobFromSourceControlRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateJobFromSourceControlRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateJobFromSourceControlRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 the authorization token.
|
String |
getBranchName()
An optional branch in the remote repository.
|
String |
getCommitId()
A commit ID for a commit in the remote repository.
|
String |
getFolder()
An optional folder in the remote repository.
|
String |
getJobName()
The name of the Glue job to be synchronized to or from the remote repository.
|
String |
getProvider()
The provider for the remote repository.
|
String |
getRepositoryName()
The name of the remote repository that contains the job artifacts.
|
String |
getRepositoryOwner()
The owner of the remote repository that contains the job artifacts.
|
int |
hashCode() |
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 the authorization token.
|
void |
setBranchName(String branchName)
An optional branch in the remote repository.
|
void |
setCommitId(String commitId)
A commit ID for a commit in the remote repository.
|
void |
setFolder(String folder)
An optional folder in the remote repository.
|
void |
setJobName(String jobName)
The name of the Glue job to be synchronized to or from the remote repository.
|
void |
setProvider(String provider)
The provider for the remote repository.
|
void |
setRepositoryName(String repositoryName)
The name of the remote repository that contains the job artifacts.
|
void |
setRepositoryOwner(String repositoryOwner)
The owner of the remote repository that contains the job artifacts.
|
String |
toString()
Returns a string representation of this object.
|
UpdateJobFromSourceControlRequest |
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.
|
UpdateJobFromSourceControlRequest |
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.
|
UpdateJobFromSourceControlRequest |
withAuthToken(String authToken)
The value of the authorization token.
|
UpdateJobFromSourceControlRequest |
withBranchName(String branchName)
An optional branch in the remote repository.
|
UpdateJobFromSourceControlRequest |
withCommitId(String commitId)
A commit ID for a commit in the remote repository.
|
UpdateJobFromSourceControlRequest |
withFolder(String folder)
An optional folder in the remote repository.
|
UpdateJobFromSourceControlRequest |
withJobName(String jobName)
The name of the Glue job to be synchronized to or from the remote repository.
|
UpdateJobFromSourceControlRequest |
withProvider(SourceControlProvider provider)
The provider for the remote repository.
|
UpdateJobFromSourceControlRequest |
withProvider(String provider)
The provider for the remote repository.
|
UpdateJobFromSourceControlRequest |
withRepositoryName(String repositoryName)
The name of the remote repository that contains the job artifacts.
|
UpdateJobFromSourceControlRequest |
withRepositoryOwner(String repositoryOwner)
The owner of the remote repository that contains the job artifacts.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobName(String jobName)
The name of the Glue job to be synchronized to or from the remote repository.
jobName
- The name of the Glue job to be synchronized to or from the remote repository.public String getJobName()
The name of the Glue job to be synchronized to or from the remote repository.
public UpdateJobFromSourceControlRequest withJobName(String jobName)
The name of the Glue job to be synchronized to or from the remote repository.
jobName
- The name of the Glue job to be synchronized to or from the remote repository.public void setProvider(String provider)
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
provider
- The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.SourceControlProvider
public String getProvider()
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
SourceControlProvider
public UpdateJobFromSourceControlRequest withProvider(String provider)
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
provider
- The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.SourceControlProvider
public UpdateJobFromSourceControlRequest withProvider(SourceControlProvider provider)
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
provider
- The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.SourceControlProvider
public void setRepositoryName(String repositoryName)
The name of the remote repository that contains the job artifacts. For BitBucket providers,
RepositoryName
should include WorkspaceName
. Use the format
<WorkspaceName>/<RepositoryName>
.
repositoryName
- The name of the remote repository that contains the job artifacts. For BitBucket providers,
RepositoryName
should include WorkspaceName
. Use the format
<WorkspaceName>/<RepositoryName>
.public String getRepositoryName()
The name of the remote repository that contains the job artifacts. For BitBucket providers,
RepositoryName
should include WorkspaceName
. Use the format
<WorkspaceName>/<RepositoryName>
.
RepositoryName
should include WorkspaceName
. Use the format
<WorkspaceName>/<RepositoryName>
.public UpdateJobFromSourceControlRequest withRepositoryName(String repositoryName)
The name of the remote repository that contains the job artifacts. For BitBucket providers,
RepositoryName
should include WorkspaceName
. Use the format
<WorkspaceName>/<RepositoryName>
.
repositoryName
- The name of the remote repository that contains the job artifacts. For BitBucket providers,
RepositoryName
should include WorkspaceName
. Use the format
<WorkspaceName>/<RepositoryName>
.public void setRepositoryOwner(String repositoryOwner)
The owner of the remote repository that contains the job artifacts.
repositoryOwner
- The owner of the remote repository that contains the job artifacts.public String getRepositoryOwner()
The owner of the remote repository that contains the job artifacts.
public UpdateJobFromSourceControlRequest withRepositoryOwner(String repositoryOwner)
The owner of the remote repository that contains the job artifacts.
repositoryOwner
- The owner of the remote repository that contains the job artifacts.public void setBranchName(String branchName)
An optional branch in the remote repository.
branchName
- An optional branch in the remote repository.public String getBranchName()
An optional branch in the remote repository.
public UpdateJobFromSourceControlRequest withBranchName(String branchName)
An optional branch in the remote repository.
branchName
- 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 UpdateJobFromSourceControlRequest withFolder(String folder)
An optional folder in the remote repository.
folder
- An optional folder in the remote repository.public void setCommitId(String commitId)
A commit ID for a commit in the remote repository.
commitId
- A commit ID for a commit in the remote repository.public String getCommitId()
A commit ID for a commit in the remote repository.
public UpdateJobFromSourceControlRequest withCommitId(String commitId)
A commit ID for a commit in the remote repository.
commitId
- A 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 UpdateJobFromSourceControlRequest 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 UpdateJobFromSourceControlRequest 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 the authorization token.
authToken
- The value of the authorization token.public String getAuthToken()
The value of the authorization token.
public UpdateJobFromSourceControlRequest withAuthToken(String authToken)
The value of the authorization token.
authToken
- The value of the authorization token.public String toString()
toString
in class Object
Object.toString()
public UpdateJobFromSourceControlRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()