Class: Aws::EC2::Types::ClientData

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ClientData data as a hash:

{
  comment: "String",
  upload_end: Time.now,
  upload_size: 1.0,
  upload_start: Time.now,
}

Describes the client-specific data.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A user-defined comment about the disk upload.

Returns:

  • (String)


2909
2910
2911
2912
2913
2914
2915
# File 'lib/aws-sdk-ec2/types.rb', line 2909

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end

#upload_endTime

The time that the disk upload ends.

Returns:

  • (Time)


2909
2910
2911
2912
2913
2914
2915
# File 'lib/aws-sdk-ec2/types.rb', line 2909

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end

#upload_sizeFloat

The size of the uploaded disk image, in GiB.

Returns:

  • (Float)


2909
2910
2911
2912
2913
2914
2915
# File 'lib/aws-sdk-ec2/types.rb', line 2909

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end

#upload_startTime

The time that the disk upload starts.

Returns:

  • (Time)


2909
2910
2911
2912
2913
2914
2915
# File 'lib/aws-sdk-ec2/types.rb', line 2909

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end