You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GroundStation::Types::SocketAddress

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

Overview

Note:

When making an API call, you may pass SocketAddress data as a hash:

{
  name: "String", # required
  port: 1, # required
}

Information about the socket address.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Name of a socket address.

Returns:

  • (String)


1502
1503
1504
1505
1506
# File 'gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/types.rb', line 1502

class SocketAddress < Struct.new(
  :name,
  :port)
  include Aws::Structure
end

#portInteger

Port of a socket address.

Returns:

  • (Integer)


1502
1503
1504
1505
1506
# File 'gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/types.rb', line 1502

class SocketAddress < Struct.new(
  :name,
  :port)
  include Aws::Structure
end