Class: Aws::DataZone::Types::DomainUnitOwnerProperties

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

Overview

Note:

DomainUnitOwnerProperties is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DomainUnitOwnerProperties corresponding to the set member.

The properties of the domain unit owner.

Direct Known Subclasses

Group, Unknown, User

Defined Under Namespace

Classes: Group, Unknown, User

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#groupTypes::DomainUnitGroupProperties

Indicates that the domain unit owner is a group.



6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 6363

class DomainUnitOwnerProperties < Struct.new(
  :group,
  :user,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Group < DomainUnitOwnerProperties; end
  class User < DomainUnitOwnerProperties; end
  class Unknown < DomainUnitOwnerProperties; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6363
6364
6365
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 6363

def unknown
  @unknown
end

#userTypes::DomainUnitUserProperties

Indicates that the domain unit owner is a user.



6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 6363

class DomainUnitOwnerProperties < Struct.new(
  :group,
  :user,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Group < DomainUnitOwnerProperties; end
  class User < DomainUnitOwnerProperties; end
  class Unknown < DomainUnitOwnerProperties; end
end