Interface AssociateSbomWithPackageVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateSbomWithPackageVersionResponse.Builder,,AssociateSbomWithPackageVersionResponse> IotResponse.Builder,SdkBuilder<AssociateSbomWithPackageVersionResponse.Builder,,AssociateSbomWithPackageVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateSbomWithPackageVersionResponse
public static interface AssociateSbomWithPackageVersionResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<AssociateSbomWithPackageVersionResponse.Builder,AssociateSbomWithPackageVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpackageName(String packageName) The name of the new software package.sbom(Consumer<Sbom.Builder> sbom) Sets the value of the Sbom property for this object.Sets the value of the Sbom property for this object.sbomValidationStatus(String sbomValidationStatus) The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.sbomValidationStatus(SbomValidationStatus sbomValidationStatus) The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.versionName(String versionName) The name of the new package version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
packageName
The name of the new software package.
- Parameters:
packageName- The name of the new software package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
The name of the new package version.
- Parameters:
versionName- The name of the new package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sbom
Sets the value of the Sbom property for this object.- Parameters:
sbom- The new value for the Sbom property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sbom
Sets the value of the Sbom property for this object. This is a convenience method that creates an instance of theSbom.Builderavoiding the need to create one manually viaSbom.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosbom(Sbom).- Parameters:
sbom- a consumer that will call methods onSbom.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sbomValidationStatus
The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.
- Parameters:
sbomValidationStatus- The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sbomValidationStatus
AssociateSbomWithPackageVersionResponse.Builder sbomValidationStatus(SbomValidationStatus sbomValidationStatus) The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.
- Parameters:
sbomValidationStatus- The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-