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.

ListBackupJobsInput

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

type ListBackupJobsInput struct { ByBackupVaultName *string `location:"querystring" locationName:"backupVaultName" type:"string"` ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` ByResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string"` ByResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` ByState *string `location:"querystring" locationName:"state" type:"string" enum:"JobState"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

ByBackupVaultName

Type: *string

Returns only backup jobs that will be stored in the specified backup vault. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

ByCreatedAfter

Type: *time.Time

Returns only backup jobs that were created after the specified date.

ByCreatedBefore

Type: *time.Time

Returns only backup jobs that were created before the specified date.

ByResourceArn

Type: *string

Returns only backup jobs that match the specified resource Amazon Resource Name (ARN).

ByResourceType

Type: *string

Returns only backup jobs for the specified resources:

  • EBS for Amazon Elastic Block Store

  • SGW for AWS Storage Gateway

  • RDS for Amazon Relational Database Service

  • DDB for Amazon DynamoDB

  • EFS for Amazon Elastic File System

ByState

Type: *string

Returns only backup jobs that are in the specified state.

MaxResults

Type: *int64

The maximum number of items to be returned.

NextToken

Type: *string

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

Method

GoString

func (s ListBackupJobsInput) GoString() string

GoString returns the string representation

SetByBackupVaultName

func (s *ListBackupJobsInput) SetByBackupVaultName(v string) *ListBackupJobsInput

SetByBackupVaultName sets the ByBackupVaultName field's value.

SetByCreatedAfter

func (s *ListBackupJobsInput) SetByCreatedAfter(v time.Time) *ListBackupJobsInput

SetByCreatedAfter sets the ByCreatedAfter field's value.

SetByCreatedBefore

func (s *ListBackupJobsInput) SetByCreatedBefore(v time.Time) *ListBackupJobsInput

SetByCreatedBefore sets the ByCreatedBefore field's value.

SetByResourceArn

func (s *ListBackupJobsInput) SetByResourceArn(v string) *ListBackupJobsInput

SetByResourceArn sets the ByResourceArn field's value.

SetByResourceType

func (s *ListBackupJobsInput) SetByResourceType(v string) *ListBackupJobsInput

SetByResourceType sets the ByResourceType field's value.

SetByState

func (s *ListBackupJobsInput) SetByState(v string) *ListBackupJobsInput

SetByState sets the ByState field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListBackupJobsInput) String() string

String returns the string representation

Validate

func (s *ListBackupJobsInput) Validate() error

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

On this page: