Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::IdentityStore::Types::PhoneNumber

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

Overview

The phone number associated with the user.

Constant Summary collapse

SENSITIVE =
[:value, :type, :primary]

Instance Attribute Summary collapse

Instance Attribute Details

#primaryBoolean

A Boolean value representing whether this is the primary phone number for the associated resource.

Returns:

  • (Boolean)

1316
1317
1318
1319
1320
1321
1322
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 1316

class PhoneNumber < Struct.new(
  :value,
  :type,
  :primary)
  SENSITIVE = [:value, :type, :primary]
  include Aws::Structure
end

#typeString

A string representing the type of a phone number. For example, "Mobile."

Returns:

  • (String)

1316
1317
1318
1319
1320
1321
1322
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 1316

class PhoneNumber < Struct.new(
  :value,
  :type,
  :primary)
  SENSITIVE = [:value, :type, :primary]
  include Aws::Structure
end

#valueString

A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".

Returns:

  • (String)

1316
1317
1318
1319
1320
1321
1322
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 1316

class PhoneNumber < Struct.new(
  :value,
  :type,
  :primary)
  SENSITIVE = [:value, :type, :primary]
  include Aws::Structure
end