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

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

Overview

The representation of a resource.

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Resource description.

Returns:

  • (String)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#disabled_dateTime

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

Returns:

  • (Time)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#emailString

The email of the resource.

Returns:

  • (String)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#enabled_dateTime

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

Returns:

  • (Time)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#idString

The identifier of the resource.

Returns:

  • (String)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#nameString

The name of the resource.

Returns:

  • (String)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#stateString

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

Returns:

  • (String)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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

#typeString

The type of the resource: equipment or room.

Returns:

  • (String)


4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
# File 'lib/aws-sdk-workmail/types.rb', line 4819

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