Interface PublishLayerVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PublishLayerVersionResponse.Builder,,PublishLayerVersionResponse> LambdaResponse.Builder,SdkBuilder<PublishLayerVersionResponse.Builder,,PublishLayerVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PublishLayerVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleArchitectures(Collection<Architecture> compatibleArchitectures) A list of compatible instruction set architectures.compatibleArchitectures(Architecture... compatibleArchitectures) A list of compatible instruction set architectures.compatibleArchitecturesWithStrings(String... compatibleArchitectures) A list of compatible instruction set architectures.compatibleArchitecturesWithStrings(Collection<String> compatibleArchitectures) A list of compatible instruction set architectures.compatibleRuntimes(Collection<Runtime> compatibleRuntimes) The layer's compatible runtimes.compatibleRuntimes(Runtime... compatibleRuntimes) The layer's compatible runtimes.compatibleRuntimesWithStrings(String... compatibleRuntimes) The layer's compatible runtimes.compatibleRuntimesWithStrings(Collection<String> compatibleRuntimes) The layer's compatible runtimes.content(Consumer<LayerVersionContentOutput.Builder> content) Details about the layer version.content(LayerVersionContentOutput content) Details about the layer version.createdDate(String createdDate) The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).description(String description) The description of the version.The ARN of the layer.layerVersionArn(String layerVersionArn) The ARN of the layer version.licenseInfo(String licenseInfo) The layer's software license.The version number.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.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
-
content
Details about the layer version.
- Parameters:
content- Details about the layer version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default PublishLayerVersionResponse.Builder content(Consumer<LayerVersionContentOutput.Builder> content) Details about the layer version.
This is a convenience method that creates an instance of theLayerVersionContentOutput.Builderavoiding the need to create one manually viaLayerVersionContentOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(LayerVersionContentOutput).- Parameters:
content- a consumer that will call methods onLayerVersionContentOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
layerArn
The ARN of the layer.
- Parameters:
layerArn- The ARN of the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerVersionArn
The ARN of the layer version.
- Parameters:
layerVersionArn- The ARN of the layer version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the version.
- Parameters:
description- The description of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
createdDate- The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version number.
- Parameters:
version- The version number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimesWithStrings
PublishLayerVersionResponse.Builder compatibleRuntimesWithStrings(Collection<String> compatibleRuntimes) The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Parameters:
compatibleRuntimes- The layer's compatible runtimes.The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimesWithStrings
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Parameters:
compatibleRuntimes- The layer's compatible runtimes.The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimes
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Parameters:
compatibleRuntimes- The layer's compatible runtimes.The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimes
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Parameters:
compatibleRuntimes- The layer's compatible runtimes.The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseInfo
The layer's software license.
- Parameters:
licenseInfo- The layer's software license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitecturesWithStrings
PublishLayerVersionResponse.Builder compatibleArchitecturesWithStrings(Collection<String> compatibleArchitectures) A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitecturesWithStrings
PublishLayerVersionResponse.Builder compatibleArchitecturesWithStrings(String... compatibleArchitectures) A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitectures
PublishLayerVersionResponse.Builder compatibleArchitectures(Collection<Architecture> compatibleArchitectures) A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitectures
PublishLayerVersionResponse.Builder compatibleArchitectures(Architecture... compatibleArchitectures) A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-