Interface CommandPayload.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CommandPayload.Builder,CommandPayload>
,SdkBuilder<CommandPayload.Builder,CommandPayload>
,SdkPojo
- Enclosing class:
- CommandPayload
public static interface CommandPayload.Builder extends SdkPojo, CopyableBuilder<CommandPayload.Builder,CommandPayload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandPayload.Builder
content(SdkBytes content)
The static payload file for the command.CommandPayload.Builder
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 Detail
-
content
CommandPayload.Builder content(SdkBytes 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
CommandPayload.Builder contentType(String 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.
-
-