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.



17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 17885

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



17885
17886
17887
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 17885

def unknown
  @unknown
end

#user ⇒ Types::OwnerUserProperties

Specifies that the domain unit owner is a user.



17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 17885

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