You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WorkMail::Types::Resource

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

Overview

The overview for a resource containing relevant data regarding it.

Instance Attribute Summary collapse

Instance Attribute Details

#disabled_dateTime

The date indicating when the resource was disabled from Amazon WorkMail use.

Returns:

  • (Time)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end

#emailString

The email of the resource.

Returns:

  • (String)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end

#enabled_dateTime

The date indicating when the resource was enabled for Amazon WorkMail use.

Returns:

  • (Time)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end

#idString

The identifier of the resource.

Returns:

  • (String)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end

#nameString

The name of the resource.

Returns:

  • (String)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end

#stateString

The state of the resource, which can be ENABLED, DISABLED, or DELETED.

Returns:

  • (String)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end

#typeString

The type of the resource: equipment or room.

Returns:

  • (String)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1539

class Resource < Struct.new(
  :id,
  :email,
  :name,
  :type,
  :state,
  :enabled_date,
  :disabled_date)
  include Aws::Structure
end