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.

ListServersInput

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

type ListServersInput struct { MaxResults *int64 `min:"1" type:"integer"` NextToken *string `min:"1" type:"string"` }

MaxResults

Type: *int64

Specifies the number of servers to return as a response to the ListServers query.

NextToken

Type: *string

When additional results are obtained from the ListServers command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional servers.

Method

GoString

func (s ListServersInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListServersInput) SetMaxResults(v int64) *ListServersInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListServersInput) SetNextToken(v string) *ListServersInput

SetNextToken sets the NextToken field's value.

String

func (s ListServersInput) String() string

String returns the string representation

Validate

func (s *ListServersInput) Validate() error

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

On this page: