Class: Aws::AgentDiscovery::Types::Identifier

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb

Overview

Note:

Identifier is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Identifier corresponding to the set member.

The resolvable identifier value. Discriminated union — exactly one member is set.

Defined Under Namespace

Classes: Domain, Unknown, Uri

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain ⇒ String

Verified domain (e.g. example.com).

Returns:

  • (String)


88
89
90
91
92
93
94
95
96
97
98
99
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb', line 88

class Identifier < Struct.new(
  :domain,
  :uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Domain < Identifier; end
  class Uri < Identifier; end
  class Unknown < Identifier; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



88
89
90
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb', line 88

def unknown
  @unknown
end

#uri ⇒ String

Arbitrary resolvable URI (urn / url / did).

Returns:

  • (String)


88
89
90
91
92
93
94
95
96
97
98
99
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb', line 88

class Identifier < Struct.new(
  :domain,
  :uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Domain < Identifier; end
  class Uri < Identifier; end
  class Unknown < Identifier; end
end