@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishLayerVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PublishLayerVersionRequest() |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLayerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
layerName - The name or Amazon Resource Name (ARN) of the layer.public String getLayerName()
The name or Amazon Resource Name (ARN) of the layer.
public PublishLayerVersionRequest withLayerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
layerName - The name or Amazon Resource Name (ARN) of the layer.public void setDescription(String description)
The description of the version.
description - The description of the version.public String getDescription()
The description of the version.
public PublishLayerVersionRequest withDescription(String description)
The description of the version.
description - The description of the version.public void setContent(LayerVersionContentInput content)
The function layer archive.
content - The function layer archive.public LayerVersionContentInput getContent()
The function layer archive.
public PublishLayerVersionRequest withContent(LayerVersionContentInput content)
The function layer archive.
content - The function layer archive.public List<String> getCompatibleRuntimes()
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
Runtimepublic void setCompatibleRuntimes(Collection<String> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes - A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.Runtimepublic PublishLayerVersionRequest withCompatibleRuntimes(String... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
NOTE: This method appends the values to the existing list (if any). Use
setCompatibleRuntimes(java.util.Collection) or withCompatibleRuntimes(java.util.Collection) if
you want to override the existing values.
compatibleRuntimes - A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.Runtimepublic PublishLayerVersionRequest withCompatibleRuntimes(Collection<String> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes - A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.Runtimepublic PublishLayerVersionRequest withCompatibleRuntimes(Runtime... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes - A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.Runtimepublic void setLicenseInfo(String licenseInfo)
The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.
The full text of the license.
licenseInfo - The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT
.
The full text of the license.
public String getLicenseInfo()
The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.
The full text of the license.
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT.
The full text of the license.
public PublishLayerVersionRequest withLicenseInfo(String licenseInfo)
The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.
The full text of the license.
licenseInfo - The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT
.
The full text of the license.
public List<String> getCompatibleArchitectures()
A list of compatible instruction set architectures.
Architecturepublic void setCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures - A list of compatible instruction set
architectures.Architecturepublic PublishLayerVersionRequest withCompatibleArchitectures(String... compatibleArchitectures)
A list of compatible instruction set architectures.
NOTE: This method appends the values to the existing list (if any). Use
setCompatibleArchitectures(java.util.Collection) or
withCompatibleArchitectures(java.util.Collection) if you want to override the existing values.
compatibleArchitectures - A list of compatible instruction set
architectures.Architecturepublic PublishLayerVersionRequest withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures - A list of compatible instruction set
architectures.Architecturepublic PublishLayerVersionRequest withCompatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures - A list of compatible instruction set
architectures.Architecturepublic String toString()
toString in class ObjectObject.toString()public PublishLayerVersionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.