Struct: s3.RestoreRequest
Overview
Container for restore job parameters.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Days *int64
Lifetime of the active copy in days.
-
GlacierJobParameters *GlacierJobParameters
S3 Glacier related parameters pertaining to this job.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetDays(int64) *RestoreRequest
operation
SetDays sets the Days field's value.
-
SetGlacierJobParameters(*GlacierJobParameters) *RestoreRequest
operation
SetGlacierJobParameters sets the GlacierJobParameters field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Days *int64
`type:"integer" required:"true"`
Lifetime of the active copy in days. Do not use with restores that specify OutputLocation.
The Days element is required for regular restores, and must not be provided for select requests.
Days is a required field
GlacierJobParameters *GlacierJobParameters
`type:"structure"`
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation.
_ struct{}
`type:"structure"`
Method Details
func (s RestoreRequest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
21947 21948 21949 |
// File 'service/s3/api.go', line 21947
|
func (s *RestoreRequest) SetDays(v int64) *RestoreRequest
SetDays sets the Days field's value.
21970 21971 21972 21973 |
// File 'service/s3/api.go', line 21970
|
func (s *RestoreRequest) SetGlacierJobParameters(v *GlacierJobParameters) *RestoreRequest
SetGlacierJobParameters sets the GlacierJobParameters field's value.
21976 21977 21978 21979 |
// File 'service/s3/api.go', line 21976
|
func (s RestoreRequest) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
21938 21939 21940 |
// File 'service/s3/api.go', line 21938
|
func (s *RestoreRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 |
// File 'service/s3/api.go', line 21952
|