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”.



18118
18119
18120
// File 'service/s3/api.go', line 18118

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

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

SetStatus sets the Status field's value.



18123
18124
18125
18126
// File 'service/s3/api.go', line 18123

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”.



18109
18110
18111
// File 'service/s3/api.go', line 18109

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