Class ServiceSyncConfig
- java.lang.Object
-
- software.amazon.awssdk.services.proton.model.ServiceSyncConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceSyncConfig.Builder,ServiceSyncConfig>
@Generated("software.amazon.awssdk:codegen") public final class ServiceSyncConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSyncConfig.Builder,ServiceSyncConfig>
Detailed data of the service sync configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceSyncConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbranch()The name of the code repository branch that holds the service code Proton will sync with.static ServiceSyncConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilePath()The file path to the service sync configuration file.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrepositoryName()The name of the code repository that holds the service code Proton will sync with.RepositoryProviderrepositoryProvider()The name of the repository provider that holds the repository Proton will sync with.StringrepositoryProviderAsString()The name of the repository provider that holds the repository Proton will sync with.List<SdkField<?>>sdkFields()static Class<? extends ServiceSyncConfig.Builder>serializableBuilderClass()StringserviceName()The name of the service that the service instance is added to.ServiceSyncConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
branch
public final String branch()
The name of the code repository branch that holds the service code Proton will sync with.
- Returns:
- The name of the code repository branch that holds the service code Proton will sync with.
-
filePath
public final String filePath()
The file path to the service sync configuration file.
- Returns:
- The file path to the service sync configuration file.
-
repositoryName
public final String repositoryName()
The name of the code repository that holds the service code Proton will sync with.
- Returns:
- The name of the code repository that holds the service code Proton will sync with.
-
repositoryProvider
public final RepositoryProvider repositoryProvider()
The name of the repository provider that holds the repository Proton will sync with.
If the service returns an enum value that is not available in the current SDK version,
repositoryProviderwill returnRepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrepositoryProviderAsString().- Returns:
- The name of the repository provider that holds the repository Proton will sync with.
- See Also:
RepositoryProvider
-
repositoryProviderAsString
public final String repositoryProviderAsString()
The name of the repository provider that holds the repository Proton will sync with.
If the service returns an enum value that is not available in the current SDK version,
repositoryProviderwill returnRepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrepositoryProviderAsString().- Returns:
- The name of the repository provider that holds the repository Proton will sync with.
- See Also:
RepositoryProvider
-
serviceName
public final String serviceName()
The name of the service that the service instance is added to.
- Returns:
- The name of the service that the service instance is added to.
-
toBuilder
public ServiceSyncConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceSyncConfig.Builder,ServiceSyncConfig>
-
builder
public static ServiceSyncConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceSyncConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-