Class: Aws::LicenseManager::Types::Entitlement

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb

Overview

Note:

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

{
  name: "String", # required
  value: "String",
  max_count: 1,
  overage: false,
  unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
  allow_check_in: false,
}

Describes a resource entitled for use with a license.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_check_inBoolean

Indicates whether check-ins are allowed.

Returns:

  • (Boolean)


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1433

class Entitlement < Struct.new(
  :name,
  :value,
  :max_count,
  :overage,
  :unit,
  :allow_check_in)
  SENSITIVE = []
  include Aws::Structure
end

#max_countInteger

Maximum entitlement count. Use if the unit is not None.

Returns:

  • (Integer)


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1433

class Entitlement < Struct.new(
  :name,
  :value,
  :max_count,
  :overage,
  :unit,
  :allow_check_in)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Entitlement name.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1433

class Entitlement < Struct.new(
  :name,
  :value,
  :max_count,
  :overage,
  :unit,
  :allow_check_in)
  SENSITIVE = []
  include Aws::Structure
end

#overageBoolean

Indicates whether overages are allowed.

Returns:

  • (Boolean)


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1433

class Entitlement < Struct.new(
  :name,
  :value,
  :max_count,
  :overage,
  :unit,
  :allow_check_in)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

Entitlement unit.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1433

class Entitlement < Struct.new(
  :name,
  :value,
  :max_count,
  :overage,
  :unit,
  :allow_check_in)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

Entitlement resource. Use only if the unit is None.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1433

class Entitlement < Struct.new(
  :name,
  :value,
  :max_count,
  :overage,
  :unit,
  :allow_check_in)
  SENSITIVE = []
  include Aws::Structure
end