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

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

Overview

The representation of a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#disabled_dateTime

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

Returns:

  • (Time)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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

#emailString

The email of the resource.

Returns:

  • (String)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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

#enabled_dateTime

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

Returns:

  • (Time)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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

#idString

The identifier of the resource.

Returns:

  • (String)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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

#nameString

The name of the resource.

Returns:

  • (String)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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

#stateString

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

Returns:

  • (String)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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

#typeString

The type of the resource: equipment or room.

Returns:

  • (String)


2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2323

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