Class: Google::Apis::MigrationcenterV1alpha1::AwsEc2PlatformDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

AWS EC2 specific details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AwsEc2PlatformDetails

Returns a new instance of AwsEc2PlatformDetails.



874
875
876
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 874

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#hyperthreadingString

Optional. Whether the machine is hyperthreaded. Corresponds to the JSON property hyperthreading

Returns:

  • (String)


862
863
864
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 862

def hyperthreading
  @hyperthreading
end

#locationString

The location of the machine in the AWS format. Corresponds to the JSON property location

Returns:

  • (String)


867
868
869
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 867

def location
  @location
end

#machine_type_labelString

AWS platform's machine type label. Corresponds to the JSON property machineTypeLabel

Returns:

  • (String)


872
873
874
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 872

def machine_type_label
  @machine_type_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



879
880
881
882
883
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 879

def update!(**args)
  @hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
  @location = args[:location] if args.key?(:location)
  @machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label)
end