@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishLayerVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PublishLayerVersionResult() |
Modifier and Type | Method and Description |
---|---|
PublishLayerVersionResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCompatibleRuntimes()
The layer's compatible runtimes.
|
LayerVersionContentOutput |
getContent()
Details about the layer version.
|
String |
getCreatedDate()
The date that the layer version was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
String |
getDescription()
The description of the version.
|
String |
getLayerArn()
The Amazon Resource Name (ARN) of the function layer.
|
String |
getLayerVersionArn()
The ARN of the layer version.
|
String |
getLicenseInfo()
The layer's software license.
|
Long |
getVersion()
The version number.
|
int |
hashCode() |
void |
setCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
|
void |
setContent(LayerVersionContentOutput content)
Details about the layer version.
|
void |
setCreatedDate(String createdDate)
The date that the layer version was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
void |
setDescription(String description)
The description of the version.
|
void |
setLayerArn(String layerArn)
The Amazon Resource Name (ARN) of the function layer.
|
void |
setLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
|
void |
setLicenseInfo(String licenseInfo)
The layer's software license.
|
void |
setVersion(Long version)
The version number.
|
String |
toString()
Returns a string representation of this object.
|
PublishLayerVersionResult |
withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
|
PublishLayerVersionResult |
withCompatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
|
PublishLayerVersionResult |
withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
|
PublishLayerVersionResult |
withContent(LayerVersionContentOutput content)
Details about the layer version.
|
PublishLayerVersionResult |
withCreatedDate(String createdDate)
The date that the layer version was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
PublishLayerVersionResult |
withDescription(String description)
The description of the version.
|
PublishLayerVersionResult |
withLayerArn(String layerArn)
The Amazon Resource Name (ARN) of the function layer.
|
PublishLayerVersionResult |
withLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
|
PublishLayerVersionResult |
withLicenseInfo(String licenseInfo)
The layer's software license.
|
PublishLayerVersionResult |
withVersion(Long version)
The version number.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContent(LayerVersionContentOutput content)
Details about the layer version.
content
- Details about the layer version.public LayerVersionContentOutput getContent()
Details about the layer version.
public PublishLayerVersionResult withContent(LayerVersionContentOutput content)
Details about the layer version.
content
- Details about the layer version.public void setLayerArn(String layerArn)
The Amazon Resource Name (ARN) of the function layer.
layerArn
- The Amazon Resource Name (ARN) of the function layer.public String getLayerArn()
The Amazon Resource Name (ARN) of the function layer.
public PublishLayerVersionResult withLayerArn(String layerArn)
The Amazon Resource Name (ARN) of the function layer.
layerArn
- The Amazon Resource Name (ARN) of the function layer.public void setLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
layerVersionArn
- The ARN of the layer version.public String getLayerVersionArn()
The ARN of the layer version.
public PublishLayerVersionResult withLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
layerVersionArn
- The ARN of the layer version.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 PublishLayerVersionResult withDescription(String description)
The description of the version.
description
- The description of the version.public void setCreatedDate(String createdDate)
The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
createdDate
- The date that the layer version was created, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).public String getCreatedDate()
The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public PublishLayerVersionResult withCreatedDate(String createdDate)
The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
createdDate
- The date that the layer version was created, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).public void setVersion(Long version)
The version number.
version
- The version number.public Long getVersion()
The version number.
public PublishLayerVersionResult withVersion(Long version)
The version number.
version
- The version number.public List<String> getCompatibleRuntimes()
The layer's compatible runtimes.
Runtime
public void setCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.Runtime
public PublishLayerVersionResult withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
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
- The layer's compatible runtimes.Runtime
public PublishLayerVersionResult withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.Runtime
public PublishLayerVersionResult withCompatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.Runtime
public void setLicenseInfo(String licenseInfo)
The layer's software license.
licenseInfo
- The layer's software license.public String getLicenseInfo()
The layer's software license.
public PublishLayerVersionResult withLicenseInfo(String licenseInfo)
The layer's software license.
licenseInfo
- The layer's software license.public String toString()
toString
in class Object
Object.toString()
public PublishLayerVersionResult clone()
Copyright © 2019. All rights reserved.