@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSyncConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSyncConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSyncConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBranch()
The branch in the repository from which changes will be synced.
|
String |
getConfigFile()
The file name of the configuration file that manages syncing between the connection and the repository.
|
String |
getRepositoryLinkId()
The ID of the repository link created for the connection.
|
String |
getResourceName()
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC)
that will be synchronized from the linked repository.
|
String |
getRoleArn()
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon
Web Services resource on your behalf.
|
String |
getSyncType()
The type of sync configuration.
|
int |
hashCode() |
void |
setBranch(String branch)
The branch in the repository from which changes will be synced.
|
void |
setConfigFile(String configFile)
The file name of the configuration file that manages syncing between the connection and the repository.
|
void |
setRepositoryLinkId(String repositoryLinkId)
The ID of the repository link created for the connection.
|
void |
setResourceName(String resourceName)
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC)
that will be synchronized from the linked repository.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon
Web Services resource on your behalf.
|
void |
setSyncType(String syncType)
The type of sync configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateSyncConfigurationRequest |
withBranch(String branch)
The branch in the repository from which changes will be synced.
|
CreateSyncConfigurationRequest |
withConfigFile(String configFile)
The file name of the configuration file that manages syncing between the connection and the repository.
|
CreateSyncConfigurationRequest |
withRepositoryLinkId(String repositoryLinkId)
The ID of the repository link created for the connection.
|
CreateSyncConfigurationRequest |
withResourceName(String resourceName)
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC)
that will be synchronized from the linked repository.
|
CreateSyncConfigurationRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon
Web Services resource on your behalf.
|
CreateSyncConfigurationRequest |
withSyncType(String syncType)
The type of sync configuration.
|
CreateSyncConfigurationRequest |
withSyncType(SyncConfigurationType syncType)
The type of sync configuration.
|
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 setBranch(String branch)
The branch in the repository from which changes will be synced.
branch
- The branch in the repository from which changes will be synced.public String getBranch()
The branch in the repository from which changes will be synced.
public CreateSyncConfigurationRequest withBranch(String branch)
The branch in the repository from which changes will be synced.
branch
- The branch in the repository from which changes will be synced.public void setConfigFile(String configFile)
The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
configFile
- The file name of the configuration file that manages syncing between the connection and the repository.
This configuration file is stored in the repository.public String getConfigFile()
The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
public CreateSyncConfigurationRequest withConfigFile(String configFile)
The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
configFile
- The file name of the configuration file that manages syncing between the connection and the repository.
This configuration file is stored in the repository.public void setRepositoryLinkId(String repositoryLinkId)
The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
repositoryLinkId
- The ID of the repository link created for the connection. A repository link allows Git sync to monitor and
sync changes to files in a specified Git repository.public String getRepositoryLinkId()
The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
public CreateSyncConfigurationRequest withRepositoryLinkId(String repositoryLinkId)
The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
repositoryLinkId
- The ID of the repository link created for the connection. A repository link allows Git sync to monitor and
sync changes to files in a specified Git repository.public void setResourceName(String resourceName)
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
resourceName
- The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of
CFN_STACK_SYNC) that will be synchronized from the linked repository.public String getResourceName()
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
public CreateSyncConfigurationRequest withResourceName(String resourceName)
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
resourceName
- The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of
CFN_STACK_SYNC) that will be synchronized from the linked repository.public void setRoleArn(String roleArn)
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
roleArn
- The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given
Amazon Web Services resource on your behalf.public String getRoleArn()
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
public CreateSyncConfigurationRequest withRoleArn(String roleArn)
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
roleArn
- The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given
Amazon Web Services resource on your behalf.public void setSyncType(String syncType)
The type of sync configuration.
syncType
- The type of sync configuration.SyncConfigurationType
public String getSyncType()
The type of sync configuration.
SyncConfigurationType
public CreateSyncConfigurationRequest withSyncType(String syncType)
The type of sync configuration.
syncType
- The type of sync configuration.SyncConfigurationType
public CreateSyncConfigurationRequest withSyncType(SyncConfigurationType syncType)
The type of sync configuration.
syncType
- The type of sync configuration.SyncConfigurationType
public String toString()
toString
in class Object
Object.toString()
public CreateSyncConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()