Class: Aws::DataZone::Types::OwnerProperties

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

Overview

Note:

OwnerProperties is a union - when making an API calls you must set exactly one of the members.

The properties of a domain unit’s 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::OwnerGroupProperties

Specifies that the domain unit owner is a group.



11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
# File 'lib/aws-sdk-datazone/types.rb', line 11863

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

  class Group < OwnerProperties; end
  class User < OwnerProperties; end
  class Unknown < OwnerProperties; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



11863
11864
11865
# File 'lib/aws-sdk-datazone/types.rb', line 11863

def unknown
  @unknown
end

#userTypes::OwnerUserProperties

Specifies that the domain unit owner is a user.



11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
# File 'lib/aws-sdk-datazone/types.rb', line 11863

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

  class Group < OwnerProperties; end
  class User < OwnerProperties; end
  class Unknown < OwnerProperties; end
end