Interface CodeContentUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeContentUpdate.Builder,,CodeContentUpdate> SdkBuilder<CodeContentUpdate.Builder,,CodeContentUpdate> SdkPojo
- Enclosing class:
CodeContentUpdate
@Mutable
@NotThreadSafe
public static interface CodeContentUpdate.Builder
extends SdkPojo, CopyableBuilder<CodeContentUpdate.Builder,CodeContentUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeContentUpdate.Builders3ContentLocationUpdate(Consumer<S3ContentLocationUpdate.Builder> s3ContentLocationUpdate) Describes an update to the location of code for an application.s3ContentLocationUpdate(S3ContentLocationUpdate s3ContentLocationUpdate) Describes an update to the location of code for an application.textContentUpdate(String textContentUpdate) Describes an update to the text code for an application.zipFileContentUpdate(SdkBytes zipFileContentUpdate) Describes an update to the zipped code for an application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
textContentUpdate
Describes an update to the text code for an application.
- Parameters:
textContentUpdate- Describes an update to the text code for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zipFileContentUpdate
Describes an update to the zipped code for an application.
- Parameters:
zipFileContentUpdate- Describes an update to the zipped code for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ContentLocationUpdate
Describes an update to the location of code for an application.
- Parameters:
s3ContentLocationUpdate- Describes an update to the location of code for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ContentLocationUpdate
default CodeContentUpdate.Builder s3ContentLocationUpdate(Consumer<S3ContentLocationUpdate.Builder> s3ContentLocationUpdate) Describes an update to the location of code for an application.
This is a convenience method that creates an instance of theS3ContentLocationUpdate.Builderavoiding the need to create one manually viaS3ContentLocationUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3ContentLocationUpdate(S3ContentLocationUpdate).- Parameters:
s3ContentLocationUpdate- a consumer that will call methods onS3ContentLocationUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-