AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ConnectionInput

import "github.com/aws/aws-sdk-go/service/glue"

type ConnectionInput struct { ConnectionProperties map[string]*string `type:"map" required:"true"` ConnectionType *string `type:"string" required:"true" enum:"ConnectionType"` Description *string `type:"string"` MatchCriteria []*string `type:"list"` Name *string `min:"1" type:"string" required:"true"` PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"` }

A structure used to specify a connection to create or update.

ConnectionProperties

Type: map[string]*string

These key-value pairs define parameters for the connection.

ConnectionProperties is a required field

ConnectionType

Type: *string

The type of the connection. Currently, only JDBC is supported; SFTP is not supported.

ConnectionType is a required field

Description

Type: *string

Description of the connection.

MatchCriteria

Type: []*string

A list of criteria that can be used in selecting this connection.

Name

Type: *string

The name of the connection.

Name is a required field

PhysicalConnectionRequirements

Specifies the physical requirements for a connection.

Method

GoString

func (s ConnectionInput) GoString() string

GoString returns the string representation

SetConnectionProperties

func (s *ConnectionInput) SetConnectionProperties(v map[string]*string) *ConnectionInput

SetConnectionProperties sets the ConnectionProperties field's value.

SetConnectionType

func (s *ConnectionInput) SetConnectionType(v string) *ConnectionInput

SetConnectionType sets the ConnectionType field's value.

SetDescription

func (s *ConnectionInput) SetDescription(v string) *ConnectionInput

SetDescription sets the Description field's value.

SetMatchCriteria

func (s *ConnectionInput) SetMatchCriteria(v []*string) *ConnectionInput

SetMatchCriteria sets the MatchCriteria field's value.

SetName

func (s *ConnectionInput) SetName(v string) *ConnectionInput

SetName sets the Name field's value.

SetPhysicalConnectionRequirements

func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput

SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.

String

func (s ConnectionInput) String() string

String returns the string representation

Validate

func (s *ConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: