Interface PackageImportJobOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PackageImportJobOutput.Builder,,PackageImportJobOutput> SdkBuilder<PackageImportJobOutput.Builder,,PackageImportJobOutput> SdkPojo
- Enclosing class:
PackageImportJobOutput
@Mutable
@NotThreadSafe
public static interface PackageImportJobOutput.Builder
extends SdkPojo, CopyableBuilder<PackageImportJobOutput.Builder,PackageImportJobOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PackageImportJobOutput.BuilderoutputS3Location(Consumer<OutPutS3Location.Builder> outputS3Location) The package's output location.outputS3Location(OutPutS3Location outputS3Location) The package's output location.The package's ID.packageVersion(String packageVersion) The package's version.patchVersion(String patchVersion) The package's patch version.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
-
outputS3Location
The package's output location.
- Parameters:
outputS3Location- The package's output location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Location
default PackageImportJobOutput.Builder outputS3Location(Consumer<OutPutS3Location.Builder> outputS3Location) The package's output location.
This is a convenience method that creates an instance of theOutPutS3Location.Builderavoiding the need to create one manually viaOutPutS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputS3Location(OutPutS3Location).- Parameters:
outputS3Location- a consumer that will call methods onOutPutS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageId
The package's ID.
- Parameters:
packageId- The package's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVersion
The package's version.
- Parameters:
packageVersion- The package's version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchVersion
The package's patch version.
- Parameters:
patchVersion- The package's patch version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-