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.

SecurityGroupMembership

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

type SecurityGroupMembership struct { SecurityGroupId *string `type:"string"` Status *string `type:"string"` }

Represents a single cache security group and its status.

SecurityGroupId

Type: *string

The identifier of the cache security group.

Status

Type: *string

The status of the cache security group membership. The status changes whenever a cache security group is modified, or when the cache security groups assigned to a cluster are modified.

Method

GoString

func (s SecurityGroupMembership) GoString() string

GoString returns the string representation

SetSecurityGroupId

func (s *SecurityGroupMembership) SetSecurityGroupId(v string) *SecurityGroupMembership

SetSecurityGroupId sets the SecurityGroupId field's value.

SetStatus

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

SetStatus sets the Status field's value.

String

func (s SecurityGroupMembership) String() string

String returns the string representation

On this page: