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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PackageVersionHistory.BuildercommitMessage(String commitMessage)A message associated with the package version when it was uploaded.PackageVersionHistory.BuildercreatedAt(Instant createdAt)The date and time when the package was created.PackageVersionHistory.BuilderpackageVersion(String packageVersion)The package version.default PackageVersionHistory.BuilderpluginProperties(Consumer<PluginProperties.Builder> pluginProperties)Additional information about plugin properties if the package is aZIP-PLUGINpackage.PackageVersionHistory.BuilderpluginProperties(PluginProperties pluginProperties)Additional information about plugin properties if the package is aZIP-PLUGINpackage.-
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 Detail
-
packageVersion
PackageVersionHistory.Builder packageVersion(String 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
PackageVersionHistory.Builder commitMessage(String 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
PackageVersionHistory.Builder createdAt(Instant 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
PackageVersionHistory.Builder pluginProperties(PluginProperties pluginProperties)
Additional information about plugin properties if the package is a
ZIP-PLUGINpackage.- Parameters:
pluginProperties- Additional information about plugin properties if the package is aZIP-PLUGINpackage.- 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-PLUGINpackage.PluginProperties.Builderavoiding the need to create one manually viaPluginProperties.builder().When the
Consumercompletes,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:
pluginProperties(PluginProperties)
-
-