Class SourceConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.SourceConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>
Describes the source deployed to an App Runner service. It can be a code or an image repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationConfigurationauthenticationConfiguration()Describes the resources that are needed to authenticate access to some source repositories.BooleanautoDeploymentsEnabled()Iftrue, continuous integration from the source repository is enabled for the App Runner service.static SourceConfiguration.Builderbuilder()CodeRepositorycodeRepository()The description of a source code repository.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImageRepositoryimageRepository()The description of a source image repository.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceConfiguration.Builder>serializableBuilderClass()SourceConfiguration.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
-
codeRepository
public final CodeRepository codeRepository()
The description of a source code repository.
You must provide either this member or
ImageRepository(but not both).- Returns:
- The description of a source code repository.
You must provide either this member or
ImageRepository(but not both).
-
imageRepository
public final ImageRepository imageRepository()
The description of a source image repository.
You must provide either this member or
CodeRepository(but not both).- Returns:
- The description of a source image repository.
You must provide either this member or
CodeRepository(but not both).
-
autoDeploymentsEnabled
public final Boolean autoDeploymentsEnabled()
If
true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.Default: App Runner sets to
falsefor a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets totruein all other cases (which currently include a source code repository or a source image using a same-account ECR repository).- Returns:
- If
true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.Default: App Runner sets to
falsefor a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets totruein all other cases (which currently include a source code repository or a source image using a same-account ECR repository).
-
authenticationConfiguration
public final AuthenticationConfiguration authenticationConfiguration()
Describes the resources that are needed to authenticate access to some source repositories.
- Returns:
- Describes the resources that are needed to authenticate access to some source repositories.
-
toBuilder
public SourceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>
-
builder
public static SourceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-