@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishLayerVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PublishLayerVersionRequest() |
Modifier and Type | Method and Description |
---|---|
PublishLayerVersionRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCompatibleRuntimes()
A list of compatible function
runtimes.
|
LayerVersionContentInput |
getContent()
The function layer archive.
|
String |
getDescription()
The description of the version.
|
String |
getLayerName()
The name of the layer.
|
String |
getLicenseInfo()
The layer's software license.
|
int |
hashCode() |
void |
setCompatibleRuntimes(Collection<String> compatibleRuntimes)
A list of compatible function
runtimes.
|
void |
setContent(LayerVersionContentInput content)
The function layer archive.
|
void |
setDescription(String description)
The description of the version.
|
void |
setLayerName(String layerName)
The name of the layer.
|
void |
setLicenseInfo(String licenseInfo)
The layer's software license.
|
String |
toString()
Returns a string representation of this object.
|
PublishLayerVersionRequest |
withCompatibleRuntimes(Collection<String> compatibleRuntimes)
A list of compatible function
runtimes.
|
PublishLayerVersionRequest |
withCompatibleRuntimes(Runtime... compatibleRuntimes)
A list of compatible function
runtimes.
|
PublishLayerVersionRequest |
withCompatibleRuntimes(String... compatibleRuntimes)
A list of compatible function
runtimes.
|
PublishLayerVersionRequest |
withContent(LayerVersionContentInput content)
The function layer archive.
|
PublishLayerVersionRequest |
withDescription(String description)
The description of the version.
|
PublishLayerVersionRequest |
withLayerName(String layerName)
The name of the layer.
|
PublishLayerVersionRequest |
withLicenseInfo(String licenseInfo)
The layer's software license.
|
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 of the layer.
layerName
- The name of the layer.public String getLayerName()
The name of the layer.
public PublishLayerVersionRequest withLayerName(String layerName)
The name of the layer.
layerName
- The name 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.
Runtime
public 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.Runtime
public 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.Runtime
public 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.Runtime
public 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.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 String toString()
toString
in class Object
Object.toString()
public PublishLayerVersionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.