@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLayerVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLayerVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetLayerVersionResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCompatibleArchitectures()
A list of compatible instruction set
architectures.
|
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 ARN of the layer.
|
String |
getLayerVersionArn()
The ARN of the layer version.
|
String |
getLicenseInfo()
The layer's software license.
|
Long |
getVersion()
The version number.
|
int |
hashCode() |
void |
setCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set
architectures.
|
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 ARN of the 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.
|
GetLayerVersionResult |
withCompatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set
architectures.
|
GetLayerVersionResult |
withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set
architectures.
|
GetLayerVersionResult |
withCompatibleArchitectures(String... compatibleArchitectures)
A list of compatible instruction set
architectures.
|
GetLayerVersionResult |
withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
|
GetLayerVersionResult |
withCompatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
|
GetLayerVersionResult |
withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
|
GetLayerVersionResult |
withContent(LayerVersionContentOutput content)
Details about the layer version.
|
GetLayerVersionResult |
withCreatedDate(String createdDate)
The date that the layer version was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
GetLayerVersionResult |
withDescription(String description)
The description of the version.
|
GetLayerVersionResult |
withLayerArn(String layerArn)
The ARN of the layer.
|
GetLayerVersionResult |
withLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
|
GetLayerVersionResult |
withLicenseInfo(String licenseInfo)
The layer's software license.
|
GetLayerVersionResult |
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 GetLayerVersionResult withContent(LayerVersionContentOutput content)
Details about the layer version.
content
- Details about the layer version.public void setLayerArn(String layerArn)
The ARN of the layer.
layerArn
- The ARN of the layer.public String getLayerArn()
The ARN of the layer.
public GetLayerVersionResult withLayerArn(String layerArn)
The ARN of the layer.
layerArn
- The ARN of the 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 GetLayerVersionResult 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 GetLayerVersionResult 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 GetLayerVersionResult 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 GetLayerVersionResult withVersion(Long version)
The version number.
version
- The version number.public List<String> getCompatibleRuntimes()
The layer's compatible runtimes.
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)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public GetLayerVersionResult withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
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
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public GetLayerVersionResult withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public GetLayerVersionResult withCompatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
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 GetLayerVersionResult withLicenseInfo(String licenseInfo)
The layer's software license.
licenseInfo
- The layer's software 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 GetLayerVersionResult 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 GetLayerVersionResult withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public GetLayerVersionResult 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 GetLayerVersionResult clone()