AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ModifyClusterMaintenanceInput

import "github.com/aws/aws-sdk-go/service/redshift"

type ModifyClusterMaintenanceInput struct { ClusterIdentifier *string `type:"string" required:"true"` DeferMaintenance *bool `type:"boolean"` DeferMaintenanceDuration *int64 `type:"integer"` DeferMaintenanceEndTime *time.Time `type:"timestamp"` DeferMaintenanceIdentifier *string `type:"string"` DeferMaintenanceStartTime *time.Time `type:"timestamp"` }

ClusterIdentifier

Type: *string

A unique identifier for the cluster.

ClusterIdentifier is a required field

DeferMaintenance

Type: *bool

A boolean indicating whether to enable the deferred maintenance window.

DeferMaintenanceDuration

Type: *int64

An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 14 days or less.

DeferMaintenanceEndTime

Type: *time.Time

A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.

DeferMaintenanceIdentifier

Type: *string

A unique identifier for the deferred maintenance window.

DeferMaintenanceStartTime

Type: *time.Time

A timestamp indicating the start time for the deferred maintenance window.

Method

GoString

func (s ModifyClusterMaintenanceInput) GoString() string

GoString returns the string representation

SetClusterIdentifier

func (s *ModifyClusterMaintenanceInput) SetClusterIdentifier(v string) *ModifyClusterMaintenanceInput

SetClusterIdentifier sets the ClusterIdentifier field's value.

SetDeferMaintenance

func (s *ModifyClusterMaintenanceInput) SetDeferMaintenance(v bool) *ModifyClusterMaintenanceInput

SetDeferMaintenance sets the DeferMaintenance field's value.

SetDeferMaintenanceDuration

func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceDuration(v int64) *ModifyClusterMaintenanceInput

SetDeferMaintenanceDuration sets the DeferMaintenanceDuration field's value.

SetDeferMaintenanceEndTime

func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceEndTime(v time.Time) *ModifyClusterMaintenanceInput

SetDeferMaintenanceEndTime sets the DeferMaintenanceEndTime field's value.

SetDeferMaintenanceIdentifier

func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceIdentifier(v string) *ModifyClusterMaintenanceInput

SetDeferMaintenanceIdentifier sets the DeferMaintenanceIdentifier field's value.

SetDeferMaintenanceStartTime

func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceStartTime(v time.Time) *ModifyClusterMaintenanceInput

SetDeferMaintenanceStartTime sets the DeferMaintenanceStartTime field's value.

String

func (s ModifyClusterMaintenanceInput) String() string

String returns the string representation

Validate

func (s *ModifyClusterMaintenanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: