@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, withSdkRequestTimeout
public 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.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public void setCompatibleRuntimes(Collection<String> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public PublishLayerVersionRequest withCompatibleRuntimes(String... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
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.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public PublishLayerVersionRequest withCompatibleRuntimes(Collection<String> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public PublishLayerVersionRequest withCompatibleRuntimes(Runtime... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function
runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public 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.
Architecture
public void setCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public 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.Architecture
public PublishLayerVersionRequest withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public PublishLayerVersionRequest withCompatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public String toString()
toString
in class Object
Object.toString()
public PublishLayerVersionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.