Interface AddAttachmentsToSetRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>, SdkBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>, SdkPojo, SdkRequest.Builder, SupportRequest.Builder
Enclosing class:
AddAttachmentsToSetRequest

public static interface AddAttachmentsToSetRequest.Builder extends SupportRequest.Builder, SdkPojo, CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>
  • Method Details

    • attachmentSetId

      AddAttachmentsToSetRequest.Builder attachmentSetId(String attachmentSetId)

      The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.

      Parameters:
      attachmentSetId - The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachments

      One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.

      In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.

      Parameters:
      attachments - One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.

      In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachments

      AddAttachmentsToSetRequest.Builder attachments(Attachment... attachments)

      One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.

      In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.

      Parameters:
      attachments - One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.

      In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachments

      One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.

      In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.

      This is a convenience method that creates an instance of the Attachment.Builder avoiding the need to create one manually via Attachment.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attachments(List<Attachment>).

      Parameters:
      attachments - a consumer that will call methods on Attachment.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      AddAttachmentsToSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.