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



18732
18733
18734
// File 'service/s3/api.go', line 18732

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

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

SetStatus sets the Status field’s value.



18737
18738
18739
18740
// File 'service/s3/api.go', line 18737

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



18723
18724
18725
// File 'service/s3/api.go', line 18723

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