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

#descriptionString

Resource description.

Returns:

  • (String)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#disabled_dateTime

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

Returns:

  • (Time)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#emailString

The email of the resource.

Returns:

  • (String)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#enabled_dateTime

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

Returns:

  • (Time)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#idString

The identifier of the resource.

Returns:

  • (String)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#nameString

The name of the resource.

Returns:

  • (String)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#stateString

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

Returns:

  • (String)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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

#typeString

The type of the resource: equipment or room.

Returns:

  • (String)


4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 4429

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