-
Notifications
You must be signed in to change notification settings - Fork 80
/
create_archiver_details.go
53 lines (40 loc) · 1.75 KB
/
create_archiver_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Streaming Service API
//
// The API for the Streaming Service.
//
package streaming
import (
"github.com/oracle/oci-go-sdk/common"
)
// CreateArchiverDetails Represents the parameters of the stream archiver.
type CreateArchiverDetails struct {
// The name of the bucket.
BucketName *string `mandatory:"true" json:"bucketName"`
// The flag to create a new bucket or use existing one.
UseExistingBucket *bool `mandatory:"true" json:"useExistingBucket"`
// The start message.
StartPosition ArchiverStartPositionEnum `mandatory:"true" json:"startPosition"`
// The batch rollover size in megabytes.
BatchRolloverSizeInMBs *int `mandatory:"true" json:"batchRolloverSizeInMBs"`
// The rollover time in seconds.
BatchRolloverTimeInSeconds *int `mandatory:"true" json:"batchRolloverTimeInSeconds"`
}
func (m CreateArchiverDetails) String() string {
return common.PointerString(m)
}
// CreateArchiverDetailsStartPositionEnum is an alias to type: ArchiverStartPositionEnum
// Consider using ArchiverStartPositionEnum instead
// Deprecated
type CreateArchiverDetailsStartPositionEnum = ArchiverStartPositionEnum
// Set of constants representing the allowable values for ArchiverStartPositionEnum
// Deprecated
const (
CreateArchiverDetailsStartPositionLatest ArchiverStartPositionEnum = "LATEST"
CreateArchiverDetailsStartPositionTrimHorizon ArchiverStartPositionEnum = "TRIM_HORIZON"
)
// GetCreateArchiverDetailsStartPositionEnumValues Enumerates the set of values for ArchiverStartPositionEnum
// Consider using GetArchiverStartPositionEnumValue
// Deprecated
var GetCreateArchiverDetailsStartPositionEnumValues = GetArchiverStartPositionEnumValues