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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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.



5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
# File 'lib/aws-sdk-datazone/types.rb', line 5509

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



5509
5510
5511
# File 'lib/aws-sdk-datazone/types.rb', line 5509

def unknown
  @unknown
end

#userTypes::DomainUnitUserProperties

Indicates that the domain unit owner is a user.



5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
# File 'lib/aws-sdk-datazone/types.rb', line 5509

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