Struct: s3.ObjectLockLegalHold

import "../ibm-cos-sdk-go/service/s3"

Overview

A Legal Hold configuration for an object.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Status *string `type:"string" enum:"ObjectLockLegalHoldStatus"`

Indicates whether the specified object has a Legal Hold in place.

_ struct{} `type:"structure"`

Method Details

func (s ObjectLockLegalHold) 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”.



18355
18356
18357
// File 'service/s3/api.go', line 18355

func (s ObjectLockLegalHold) GoString() string { return s.String() }

func (s *ObjectLockLegalHold) SetStatus(v string) *ObjectLockLegalHold

SetStatus sets the Status field's value.



18360
18361
18362
18363
// File 'service/s3/api.go', line 18360

func (s *ObjectLockLegalHold) SetStatus(v string) *ObjectLockLegalHold { s.Status = &v return s }

func (s ObjectLockLegalHold) 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”.



18346
18347
18348
// File 'service/s3/api.go', line 18346

func (s ObjectLockLegalHold) String() string { return awsutil.Prettify(s) }