Class SyncConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SyncConfiguration.Builder,
SyncConfiguration>
Information, such as repository, branch, provider, and resource names for a specific sync configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
branch()
The branch associated with a specific sync configuration.static SyncConfiguration.Builder
builder()
final String
The file path to the configuration file associated with a specific sync configuration.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
ownerId()
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.final ProviderType
The connection provider type associated with a specific sync configuration, such as GitHub.final String
The connection provider type associated with a specific sync configuration, such as GitHub.final PublishDeploymentStatus
Whether to enable or disable publishing of deployment status to source providers.final String
Whether to enable or disable publishing of deployment status to source providers.final PullRequestComment
A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.final String
A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.final String
The ID of the repository link associated with a specific sync configuration.final String
The name of the repository associated with a specific sync configuration.final String
The name of the connection resource associated with a specific sync configuration.final String
roleArn()
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.static Class
<? extends SyncConfiguration.Builder> final SyncConfigurationType
syncType()
The type of sync for a specific sync configuration.final String
The type of sync for a specific sync configuration.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final TriggerResourceUpdateOn
When to trigger Git sync to begin the stack update.final String
When to trigger Git sync to begin the stack update.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
branch
The branch associated with a specific sync configuration.
- Returns:
- The branch associated with a specific sync configuration.
-
configFile
The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
- Returns:
- The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
-
ownerId
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
- Returns:
- The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
-
providerType
The connection provider type associated with a specific sync configuration, such as GitHub.
If the service returns an enum value that is not available in the current SDK version,
providerType
will returnProviderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromproviderTypeAsString()
.- Returns:
- The connection provider type associated with a specific sync configuration, such as GitHub.
- See Also:
-
providerTypeAsString
The connection provider type associated with a specific sync configuration, such as GitHub.
If the service returns an enum value that is not available in the current SDK version,
providerType
will returnProviderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromproviderTypeAsString()
.- Returns:
- The connection provider type associated with a specific sync configuration, such as GitHub.
- See Also:
-
repositoryLinkId
The ID of the repository link associated with a specific sync configuration.
- Returns:
- The ID of the repository link associated with a specific sync configuration.
-
repositoryName
The name of the repository associated with a specific sync configuration.
- Returns:
- The name of the repository associated with a specific sync configuration.
-
resourceName
The name of the connection resource associated with a specific sync configuration.
- Returns:
- The name of the connection resource associated with a specific sync configuration.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
-
syncType
The type of sync for a specific sync configuration.
If the service returns an enum value that is not available in the current SDK version,
syncType
will returnSyncConfigurationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsyncTypeAsString()
.- Returns:
- The type of sync for a specific sync configuration.
- See Also:
-
syncTypeAsString
The type of sync for a specific sync configuration.
If the service returns an enum value that is not available in the current SDK version,
syncType
will returnSyncConfigurationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsyncTypeAsString()
.- Returns:
- The type of sync for a specific sync configuration.
- See Also:
-
publishDeploymentStatus
Whether to enable or disable publishing of deployment status to source providers.
If the service returns an enum value that is not available in the current SDK version,
publishDeploymentStatus
will returnPublishDeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompublishDeploymentStatusAsString()
.- Returns:
- Whether to enable or disable publishing of deployment status to source providers.
- See Also:
-
publishDeploymentStatusAsString
Whether to enable or disable publishing of deployment status to source providers.
If the service returns an enum value that is not available in the current SDK version,
publishDeploymentStatus
will returnPublishDeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompublishDeploymentStatusAsString()
.- Returns:
- Whether to enable or disable publishing of deployment status to source providers.
- See Also:
-
triggerResourceUpdateOn
When to trigger Git sync to begin the stack update.
If the service returns an enum value that is not available in the current SDK version,
triggerResourceUpdateOn
will returnTriggerResourceUpdateOn.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtriggerResourceUpdateOnAsString()
.- Returns:
- When to trigger Git sync to begin the stack update.
- See Also:
-
triggerResourceUpdateOnAsString
When to trigger Git sync to begin the stack update.
If the service returns an enum value that is not available in the current SDK version,
triggerResourceUpdateOn
will returnTriggerResourceUpdateOn.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtriggerResourceUpdateOnAsString()
.- Returns:
- When to trigger Git sync to begin the stack update.
- See Also:
-
pullRequestComment
A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
If the service returns an enum value that is not available in the current SDK version,
pullRequestComment
will returnPullRequestComment.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompullRequestCommentAsString()
.- Returns:
- A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
- See Also:
-
pullRequestCommentAsString
A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
If the service returns an enum value that is not available in the current SDK version,
pullRequestComment
will returnPullRequestComment.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompullRequestCommentAsString()
.- Returns:
- A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SyncConfiguration.Builder,
SyncConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-