Interface UpdatedRegistryRecordArtifact.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedRegistryRecordArtifact.Builder,,UpdatedRegistryRecordArtifact> SdkBuilder<UpdatedRegistryRecordArtifact.Builder,,UpdatedRegistryRecordArtifact> SdkPojo
- Enclosing class:
UpdatedRegistryRecordArtifact
@Mutable
@NotThreadSafe
public static interface UpdatedRegistryRecordArtifact.Builder
extends SdkPojo, CopyableBuilder<UpdatedRegistryRecordArtifact.Builder,UpdatedRegistryRecordArtifact>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<RegistryRecordArtifactUpload.Builder> optionalValue) The skill package to upload.optionalValue(RegistryRecordArtifactUpload optionalValue) The skill package to upload.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
-
optionalValue
The skill package to upload. It replaces the record's current package or its synchronized content.
- Parameters:
optionalValue- The skill package to upload. It replaces the record's current package or its synchronized content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedRegistryRecordArtifact.Builder optionalValue(Consumer<RegistryRecordArtifactUpload.Builder> optionalValue) The skill package to upload. It replaces the record's current package or its synchronized content.
This is a convenience method that creates an instance of theRegistryRecordArtifactUpload.Builderavoiding the need to create one manually viaRegistryRecordArtifactUpload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(RegistryRecordArtifactUpload).- Parameters:
optionalValue- a consumer that will call methods onRegistryRecordArtifactUpload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-