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.

UserDefinedFunctionInput

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

type UserDefinedFunctionInput struct { ClassName *string `min:"1" type:"string"` FunctionName *string `min:"1" type:"string"` OwnerName *string `min:"1" type:"string"` OwnerType *string `type:"string" enum:"PrincipalType"` ResourceUris []*ResourceUri `type:"list"` }

A structure used to create or updata a user-defined function.

ClassName

Type: *string

The Java class that contains the function code.

FunctionName

Type: *string

The name of the function.

OwnerName

Type: *string

The owner of the function.

OwnerType

Type: *string

The owner type.

ResourceUris

URIs for function resources.

Method

GoString

func (s UserDefinedFunctionInput) GoString() string

GoString returns the string representation

SetClassName

func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput

SetClassName sets the ClassName field's value.

SetFunctionName

func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput

SetFunctionName sets the FunctionName field's value.

SetOwnerName

func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput

SetOwnerName sets the OwnerName field's value.

SetOwnerType

func (s *UserDefinedFunctionInput) SetOwnerType(v string) *UserDefinedFunctionInput

SetOwnerType sets the OwnerType field's value.

SetResourceUris

func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefinedFunctionInput

SetResourceUris sets the ResourceUris field's value.

String

func (s UserDefinedFunctionInput) String() string

String returns the string representation

Validate

func (s *UserDefinedFunctionInput) Validate() error

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

On this page: