Interface CommandPayload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommandPayload.Builder,
,CommandPayload> SdkBuilder<CommandPayload.Builder,
,CommandPayload> SdkPojo
- Enclosing class:
CommandPayload
@Mutable
@NotThreadSafe
public static interface CommandPayload.Builder
extends SdkPojo, CopyableBuilder<CommandPayload.Builder,CommandPayload>
-
Method Summary
Modifier and TypeMethodDescriptionThe static payload file for the command.contentType
(String contentType) The content type that specifies the format type of the payload file.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
content
The static payload file for the command.
- Parameters:
content
- The static payload file for the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as
application/json
. For information about various content types, see Common MIME types.- Parameters:
contentType
- The content type that specifies the format type of the payload file. This field must use a type/subtype format, such asapplication/json
. For information about various content types, see Common MIME types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-