@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RawString extends Object implements Serializable, Cloneable, StructuredPojo
A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda deployments, the revision is the same as the AppSpec file.
Constructor and Description |
---|
RawString() |
Modifier and Type | Method and Description |
---|---|
RawString |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The YAML-formatted or JSON-formatted revision string.
|
String |
getSha256()
The SHA256 hash value of the revision that is specified as a RawString.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContent(String content)
The YAML-formatted or JSON-formatted revision string.
|
void |
setSha256(String sha256)
The SHA256 hash value of the revision that is specified as a RawString.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RawString |
withContent(String content)
The YAML-formatted or JSON-formatted revision string.
|
RawString |
withSha256(String sha256)
The SHA256 hash value of the revision that is specified as a RawString.
|
public void setContent(String content)
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
content
- The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function
to update and optional Lambda functions that validate deployment lifecycle events.public String getContent()
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
public RawString withContent(String content)
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
content
- The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function
to update and optional Lambda functions that validate deployment lifecycle events.public void setSha256(String sha256)
The SHA256 hash value of the revision that is specified as a RawString.
sha256
- The SHA256 hash value of the revision that is specified as a RawString.public String getSha256()
The SHA256 hash value of the revision that is specified as a RawString.
public RawString withSha256(String sha256)
The SHA256 hash value of the revision that is specified as a RawString.
sha256
- The SHA256 hash value of the revision that is specified as a RawString.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.