@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCompatibleArchitectures()
A list of compatible instruction set
architectures.
|
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 or Amazon Resource Name (ARN) of the layer.
|
String |
getLicenseInfo()
The layer's software license.
|
int |
hashCode() |
void |
setCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set
architectures.
|
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 or Amazon Resource Name (ARN) of the layer.
|
void |
setLicenseInfo(String licenseInfo)
The layer's software license.
|
String |
toString()
Returns a string representation of this object.
|
PublishLayerVersionRequest |
withCompatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set
architectures.
|
PublishLayerVersionRequest |
withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set
architectures.
|
PublishLayerVersionRequest |
withCompatibleArchitectures(String... compatibleArchitectures)
A list of compatible instruction set
architectures.
|
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 or Amazon Resource Name (ARN) of the layer.
|
PublishLayerVersionRequest |
withLicenseInfo(String licenseInfo)
The layer's software license.
|
addHandlerContext, 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()