@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentRequires extends Object implements Serializable, Cloneable, StructuredPojo
An SSM document required by the current document.
Constructor and Description |
---|
DocumentRequires() |
Modifier and Type | Method and Description |
---|---|
DocumentRequires |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the required SSM document.
|
String |
getRequireType()
The document type of the required SSM document.
|
String |
getVersion()
The document version required by the current document.
|
String |
getVersionName()
An optional field specifying the version of the artifact associated with the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the required SSM document.
|
void |
setRequireType(String requireType)
The document type of the required SSM document.
|
void |
setVersion(String version)
The document version required by the current document.
|
void |
setVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document.
|
String |
toString()
Returns a string representation of this object.
|
DocumentRequires |
withName(String name)
The name of the required SSM document.
|
DocumentRequires |
withRequireType(String requireType)
The document type of the required SSM document.
|
DocumentRequires |
withVersion(String version)
The document version required by the current document.
|
DocumentRequires |
withVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document.
|
public void setName(String name)
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
name
- The name of the required SSM document. The name can be an Amazon Resource Name (ARN).public String getName()
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
public DocumentRequires withName(String name)
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
name
- The name of the required SSM document. The name can be an Amazon Resource Name (ARN).public void setVersion(String version)
The document version required by the current document.
version
- The document version required by the current document.public String getVersion()
The document version required by the current document.
public DocumentRequires withVersion(String version)
The document version required by the current document.
version
- The document version required by the current document.public void setRequireType(String requireType)
The document type of the required SSM document.
requireType
- The document type of the required SSM document.public String getRequireType()
The document type of the required SSM document.
public DocumentRequires withRequireType(String requireType)
The document type of the required SSM document.
requireType
- The document type of the required SSM document.public void setVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
versionName
- An optional field specifying the version of the artifact associated with the document. For example, 12.6.
This value is unique across all versions of a document, and can't be changed.public String getVersionName()
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
public DocumentRequires withVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
versionName
- An optional field specifying the version of the artifact associated with the document. For example, 12.6.
This value is unique across all versions of a document, and can't be changed.public String toString()
toString
in class Object
Object.toString()
public DocumentRequires clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.