Class: Aws::AgentRegistryControl::Types::Identifier

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

Overview

Note:

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

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.

Identifies a publisher by one of the supported identifier types. A domain name is the only supported type.

Defined Under Namespace

Classes: Domain, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain ⇒ String

The fully qualified domain name of the publisher, such as example.com. The name must have at least two labels and can be up to 253 characters long. Domain names aren't case sensitive.

Returns:

  • (String)


1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1733

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1733
1734
1735
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1733

def unknown
  @unknown
end