Class DocumentReviewCommentSource
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.DocumentReviewCommentSource
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DocumentReviewCommentSource.Builder,DocumentReviewCommentSource>
@Generated("software.amazon.awssdk:codegen") public final class DocumentReviewCommentSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentReviewCommentSource.Builder,DocumentReviewCommentSource>
Information about comments added to a document review request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DocumentReviewCommentSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentReviewCommentSource.Builder
builder()
String
content()
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends DocumentReviewCommentSource.Builder>
serializableBuilderClass()
DocumentReviewCommentSource.Builder
toBuilder()
String
toString()
Returns a string representation of this object.DocumentReviewCommentType
type()
The type of information added to a review request.String
typeAsString()
The type of information added to a review request.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final DocumentReviewCommentType type()
The type of information added to a review request. Currently, only the value
Comment
is supported.If the service returns an enum value that is not available in the current SDK version,
type
will returnDocumentReviewCommentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of information added to a review request. Currently, only the value
Comment
is supported. - See Also:
DocumentReviewCommentType
-
typeAsString
public final String typeAsString()
The type of information added to a review request. Currently, only the value
Comment
is supported.If the service returns an enum value that is not available in the current SDK version,
type
will returnDocumentReviewCommentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of information added to a review request. Currently, only the value
Comment
is supported. - See Also:
DocumentReviewCommentType
-
content
public final String content()
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
- Returns:
- The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
-
toBuilder
public DocumentReviewCommentSource.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DocumentReviewCommentSource.Builder,DocumentReviewCommentSource>
-
builder
public static DocumentReviewCommentSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentReviewCommentSource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-