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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociateSbomWithPackageVersionResponse.BuilderpackageName(String packageName)The name of the new software package.default AssociateSbomWithPackageVersionResponse.Buildersbom(Consumer<Sbom.Builder> sbom)Sets the value of the Sbom property for this object.AssociateSbomWithPackageVersionResponse.Buildersbom(Sbom sbom)Sets the value of the Sbom property for this object.AssociateSbomWithPackageVersionResponse.BuildersbomValidationStatus(String sbomValidationStatus)The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.AssociateSbomWithPackageVersionResponse.BuildersbomValidationStatus(SbomValidationStatus sbomValidationStatus)The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.AssociateSbomWithPackageVersionResponse.BuilderversionName(String versionName)The name of the new package version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
packageName
AssociateSbomWithPackageVersionResponse.Builder packageName(String 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
AssociateSbomWithPackageVersionResponse.Builder versionName(String 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
AssociateSbomWithPackageVersionResponse.Builder sbom(Sbom 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
default AssociateSbomWithPackageVersionResponse.Builder sbom(Consumer<Sbom.Builder> 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:
sbom(Sbom)
-
sbomValidationStatus
AssociateSbomWithPackageVersionResponse.Builder sbomValidationStatus(String sbomValidationStatus)
The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.
- Parameters:
sbomValidationStatus- The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SbomValidationStatus,SbomValidationStatus
-
sbomValidationStatus
AssociateSbomWithPackageVersionResponse.Builder sbomValidationStatus(SbomValidationStatus sbomValidationStatus)
The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.
- Parameters:
sbomValidationStatus- The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SbomValidationStatus,SbomValidationStatus
-
-