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.



14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
# File 'lib/aws-sdk-datazone/types.rb', line 14255

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



14255
14256
14257
# File 'lib/aws-sdk-datazone/types.rb', line 14255

def unknown
  @unknown
end

#userTypes::OwnerUserProperties

Specifies that the domain unit owner is a user.



14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
# File 'lib/aws-sdk-datazone/types.rb', line 14255

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