Interface PackageVersionHistory.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PackageVersionHistory.Builder,
,PackageVersionHistory> SdkBuilder<PackageVersionHistory.Builder,
,PackageVersionHistory> SdkPojo
- Enclosing class:
PackageVersionHistory
public static interface PackageVersionHistory.Builder
extends SdkPojo, CopyableBuilder<PackageVersionHistory.Builder,PackageVersionHistory>
-
Method Summary
Modifier and TypeMethodDescriptioncommitMessage
(String commitMessage) A message associated with the package version when it was uploaded.The date and time when the package was created.packageVersion
(String packageVersion) The package version.default PackageVersionHistory.Builder
pluginProperties
(Consumer<PluginProperties.Builder> pluginProperties) Additional information about plugin properties if the package is aZIP-PLUGIN
package.pluginProperties
(PluginProperties pluginProperties) Additional information about plugin properties if the package is aZIP-PLUGIN
package.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
packageVersion
The package version.
- Parameters:
packageVersion
- The package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitMessage
A message associated with the package version when it was uploaded.
- Parameters:
commitMessage
- A message associated with the package version when it was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time when the package was created.
- Parameters:
createdAt
- The date and time when the package was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pluginProperties
Additional information about plugin properties if the package is a
ZIP-PLUGIN
package.- Parameters:
pluginProperties
- Additional information about plugin properties if the package is aZIP-PLUGIN
package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pluginProperties
default PackageVersionHistory.Builder pluginProperties(Consumer<PluginProperties.Builder> pluginProperties) Additional information about plugin properties if the package is a
This is a convenience method that creates an instance of theZIP-PLUGIN
package.PluginProperties.Builder
avoiding the need to create one manually viaPluginProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topluginProperties(PluginProperties)
.- Parameters:
pluginProperties
- a consumer that will call methods onPluginProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-