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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datazone/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.

Defined Under Namespace

Classes: Group, Unknown, User

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#group ⇒ Types::OwnerGroupProperties

Specifies that the domain unit owner is a group.



18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 18349

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



18349
18350
18351
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 18349

def unknown
  @unknown
end

#user ⇒ Types::OwnerUserProperties

Specifies that the domain unit owner is a user.



18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 18349

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

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