_id
stringlengths 2
7
| title
stringlengths 1
118
| partition
stringclasses 3
values | text
stringlengths 52
85.5k
| language
stringclasses 1
value | meta_information
dict |
|---|---|---|---|---|---|
q2500
|
SetMaxPaddingBytes
|
train
|
func (s *ParquetSerDe) SetMaxPaddingBytes(v int64) *ParquetSerDe {
s.MaxPaddingBytes = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2501
|
SetPageSizeBytes
|
train
|
func (s *ParquetSerDe) SetPageSizeBytes(v int64) *ParquetSerDe {
s.PageSizeBytes = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2502
|
SetWriterVersion
|
train
|
func (s *ParquetSerDe) SetWriterVersion(v string) *ParquetSerDe {
s.WriterVersion = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2503
|
SetProcessors
|
train
|
func (s *ProcessingConfiguration) SetProcessors(v []*Processor) *ProcessingConfiguration {
s.Processors = v
return s
}
|
go
|
{
"resource": ""
}
|
q2504
|
SetFailedPutCount
|
train
|
func (s *PutRecordBatchOutput) SetFailedPutCount(v int64) *PutRecordBatchOutput {
s.FailedPutCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2505
|
SetRequestResponses
|
train
|
func (s *PutRecordBatchOutput) SetRequestResponses(v []*PutRecordBatchResponseEntry) *PutRecordBatchOutput {
s.RequestResponses = v
return s
}
|
go
|
{
"resource": ""
}
|
q2506
|
SetOrcSerDe
|
train
|
func (s *Serializer) SetOrcSerDe(v *OrcSerDe) *Serializer {
s.OrcSerDe = v
return s
}
|
go
|
{
"resource": ""
}
|
q2507
|
SetParquetSerDe
|
train
|
func (s *Serializer) SetParquetSerDe(v *ParquetSerDe) *Serializer {
s.ParquetSerDe = v
return s
}
|
go
|
{
"resource": ""
}
|
q2508
|
SetKinesisStreamSourceDescription
|
train
|
func (s *SourceDescription) SetKinesisStreamSourceDescription(v *KinesisStreamSourceDescription) *SourceDescription {
s.KinesisStreamSourceDescription = v
return s
}
|
go
|
{
"resource": ""
}
|
q2509
|
SetCurrentDeliveryStreamVersionId
|
train
|
func (s *UpdateDestinationInput) SetCurrentDeliveryStreamVersionId(v string) *UpdateDestinationInput {
s.CurrentDeliveryStreamVersionId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2510
|
SetElasticsearchDestinationUpdate
|
train
|
func (s *UpdateDestinationInput) SetElasticsearchDestinationUpdate(v *ElasticsearchDestinationUpdate) *UpdateDestinationInput {
s.ElasticsearchDestinationUpdate = v
return s
}
|
go
|
{
"resource": ""
}
|
q2511
|
SetExtendedS3DestinationUpdate
|
train
|
func (s *UpdateDestinationInput) SetExtendedS3DestinationUpdate(v *ExtendedS3DestinationUpdate) *UpdateDestinationInput {
s.ExtendedS3DestinationUpdate = v
return s
}
|
go
|
{
"resource": ""
}
|
q2512
|
SetRedshiftDestinationUpdate
|
train
|
func (s *UpdateDestinationInput) SetRedshiftDestinationUpdate(v *RedshiftDestinationUpdate) *UpdateDestinationInput {
s.RedshiftDestinationUpdate = v
return s
}
|
go
|
{
"resource": ""
}
|
q2513
|
SetS3DestinationUpdate
|
train
|
func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) *UpdateDestinationInput {
s.S3DestinationUpdate = v
return s
}
|
go
|
{
"resource": ""
}
|
q2514
|
SetSplunkDestinationUpdate
|
train
|
func (s *UpdateDestinationInput) SetSplunkDestinationUpdate(v *SplunkDestinationUpdate) *UpdateDestinationInput {
s.SplunkDestinationUpdate = v
return s
}
|
go
|
{
"resource": ""
}
|
q2515
|
SetAwsIamConfig
|
train
|
func (s *AuthorizationConfig) SetAwsIamConfig(v *AwsIamConfig) *AuthorizationConfig {
s.AwsIamConfig = v
return s
}
|
go
|
{
"resource": ""
}
|
q2516
|
SetSigningRegion
|
train
|
func (s *AwsIamConfig) SetSigningRegion(v string) *AwsIamConfig {
s.SigningRegion = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2517
|
SetSigningServiceName
|
train
|
func (s *AwsIamConfig) SetSigningServiceName(v string) *AwsIamConfig {
s.SigningServiceName = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2518
|
SetDataSourceArn
|
train
|
func (s *DataSource) SetDataSourceArn(v string) *DataSource {
s.DataSourceArn = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2519
|
SetUseCallerCredentials
|
train
|
func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig {
s.UseCallerCredentials = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2520
|
SetUris
|
train
|
func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi {
s.Uris = v
return s
}
|
go
|
{
"resource": ""
}
|
q2521
|
SetAuthorizationConfig
|
train
|
func (s *HttpDataSourceConfig) SetAuthorizationConfig(v *AuthorizationConfig) *HttpDataSourceConfig {
s.AuthorizationConfig = v
return s
}
|
go
|
{
"resource": ""
}
|
q2522
|
SetApiKeys
|
train
|
func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput {
s.ApiKeys = v
return s
}
|
go
|
{
"resource": ""
}
|
q2523
|
SetGraphqlApis
|
train
|
func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput {
s.GraphqlApis = v
return s
}
|
go
|
{
"resource": ""
}
|
q2524
|
SetFieldLogLevel
|
train
|
func (s *LogConfig) SetFieldLogLevel(v string) *LogConfig {
s.FieldLogLevel = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2525
|
SetAuthTTL
|
train
|
func (s *OpenIDConnectConfig) SetAuthTTL(v int64) *OpenIDConnectConfig {
s.AuthTTL = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2526
|
SetIatTTL
|
train
|
func (s *OpenIDConnectConfig) SetIatTTL(v int64) *OpenIDConnectConfig {
s.IatTTL = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2527
|
SetRdsHttpEndpointConfig
|
train
|
func (s *RelationalDatabaseDataSourceConfig) SetRdsHttpEndpointConfig(v *RdsHttpEndpointConfig) *RelationalDatabaseDataSourceConfig {
s.RdsHttpEndpointConfig = v
return s
}
|
go
|
{
"resource": ""
}
|
q2528
|
SetRelationalDatabaseSourceType
|
train
|
func (s *RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType(v string) *RelationalDatabaseDataSourceConfig {
s.RelationalDatabaseSourceType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2529
|
SetResolverArn
|
train
|
func (s *Resolver) SetResolverArn(v string) *Resolver {
s.ResolverArn = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2530
|
SetAppIdClientRegex
|
train
|
func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig {
s.AppIdClientRegex = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2531
|
AppendChild
|
train
|
func (a *AST) AppendChild(child AST) {
a.Children = append(a.Children, child)
}
|
go
|
{
"resource": ""
}
|
q2532
|
GetRoot
|
train
|
func (a *AST) GetRoot() AST {
if a.RootToken {
return *a
}
if len(a.Children) == 0 {
return AST{}
}
return a.Children[0]
}
|
go
|
{
"resource": ""
}
|
q2533
|
GetChildren
|
train
|
func (a *AST) GetChildren() []AST {
if len(a.Children) == 0 {
return []AST{}
}
if a.RootToken {
return a.Children
}
return a.Children[1:]
}
|
go
|
{
"resource": ""
}
|
q2534
|
SetChildren
|
train
|
func (a *AST) SetChildren(children []AST) {
if a.RootToken {
a.Children = children
} else {
a.Children = append(a.Children[:1], children...)
}
}
|
go
|
{
"resource": ""
}
|
q2535
|
NewURLSigner
|
train
|
func NewURLSigner(keyID string, privKey *rsa.PrivateKey) *URLSigner {
return &URLSigner{
keyID: keyID,
privKey: privKey,
}
}
|
go
|
{
"resource": ""
}
|
q2536
|
ConstantWaiterDelay
|
train
|
func ConstantWaiterDelay(delay time.Duration) WaiterDelay {
return func(attempt int) time.Duration {
return delay
}
}
|
go
|
{
"resource": ""
}
|
q2537
|
WithWaiterLogger
|
train
|
func WithWaiterLogger(logger aws.Logger) WaiterOption {
return func(w *Waiter) {
w.Logger = logger
}
}
|
go
|
{
"resource": ""
}
|
q2538
|
WithWaiterRequestOptions
|
train
|
func WithWaiterRequestOptions(opts ...Option) WaiterOption {
return func(w *Waiter) {
w.RequestOptions = append(w.RequestOptions, opts...)
}
}
|
go
|
{
"resource": ""
}
|
q2539
|
ApplyOptions
|
train
|
func (w *Waiter) ApplyOptions(opts ...WaiterOption) {
for _, fn := range opts {
fn(w)
}
}
|
go
|
{
"resource": ""
}
|
q2540
|
String
|
train
|
func (m WaiterMatchMode) String() string {
switch m {
case PathAllWaiterMatch:
return "pathAll"
case PathWaiterMatch:
return "path"
case PathAnyWaiterMatch:
return "pathAny"
case PathListWaiterMatch:
return "pathList"
case StatusWaiterMatch:
return "status"
case ErrorWaiterMatch:
return "error"
default:
return "unknown waiter match mode"
}
}
|
go
|
{
"resource": ""
}
|
q2541
|
WaitWithContext
|
train
|
func (w Waiter) WaitWithContext(ctx aws.Context) error {
for attempt := 1; ; attempt++ {
req, err := w.NewRequest(w.RequestOptions)
if err != nil {
waiterLogf(w.Logger, "unable to create request %v", err)
return err
}
req.Handlers.Build.PushBack(MakeAddToUserAgentFreeFormHandler("Waiter"))
err = req.Send()
// See if any of the acceptors match the request's response, or error
for _, a := range w.Acceptors {
if matched, matchErr := a.match(w.Name, w.Logger, req, err); matched {
return matchErr
}
}
// The Waiter should only check the resource state MaxAttempts times
// This is here instead of in the for loop above to prevent delaying
// unnecessary when the waiter will not retry.
if attempt == w.MaxAttempts {
break
}
// Delay to wait before inspecting the resource again
delay := w.Delay(attempt)
if sleepFn := req.Config.SleepDelay; sleepFn != nil {
// Support SleepDelay for backwards compatibility and testing
sleepFn(delay)
} else {
sleepCtxFn := w.SleepWithContext
if sleepCtxFn == nil {
sleepCtxFn = aws.SleepWithContext
}
if err := sleepCtxFn(ctx, delay); err != nil {
return awserr.New(CanceledErrorCode, "waiter context canceled", err)
}
}
}
return awserr.New(WaiterResourceNotReadyErrorCode, "exceeded wait attempts", nil)
}
|
go
|
{
"resource": ""
}
|
q2542
|
match
|
train
|
func (a *WaiterAcceptor) match(name string, l aws.Logger, req *Request, err error) (bool, error) {
result := false
var vals []interface{}
switch a.Matcher {
case PathAllWaiterMatch, PathWaiterMatch:
// Require all matches to be equal for result to match
vals, _ = awsutil.ValuesAtPath(req.Data, a.Argument)
if len(vals) == 0 {
break
}
result = true
for _, val := range vals {
if !awsutil.DeepEqual(val, a.Expected) {
result = false
break
}
}
case PathAnyWaiterMatch:
// Only a single match needs to equal for the result to match
vals, _ = awsutil.ValuesAtPath(req.Data, a.Argument)
for _, val := range vals {
if awsutil.DeepEqual(val, a.Expected) {
result = true
break
}
}
case PathListWaiterMatch:
// ignored matcher
case StatusWaiterMatch:
s := a.Expected.(int)
result = s == req.HTTPResponse.StatusCode
case ErrorWaiterMatch:
if aerr, ok := err.(awserr.Error); ok {
result = aerr.Code() == a.Expected.(string)
}
default:
waiterLogf(l, "WARNING: Waiter %s encountered unexpected matcher: %s",
name, a.Matcher)
}
if !result {
// If there was no matching result found there is nothing more to do
// for this response, retry the request.
return false, nil
}
switch a.State {
case SuccessWaiterState:
// waiter completed
return true, nil
case FailureWaiterState:
// Waiter failure state triggered
return true, awserr.New(WaiterResourceNotReadyErrorCode,
"failed waiting for successful resource state", err)
case RetryWaiterState:
// clear the error and retry the operation
return false, nil
default:
waiterLogf(l, "WARNING: Waiter %s encountered unexpected state: %s",
name, a.State)
return false, nil
}
}
|
go
|
{
"resource": ""
}
|
q2543
|
WaitUntilClusterAvailable
|
train
|
func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
return c.WaitUntilClusterAvailableWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2544
|
WaitUntilClusterDeleted
|
train
|
func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
return c.WaitUntilClusterDeletedWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2545
|
WaitUntilClusterRestored
|
train
|
func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
return c.WaitUntilClusterRestoredWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2546
|
WaitUntilSnapshotAvailable
|
train
|
func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
return c.WaitUntilSnapshotAvailableWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2547
|
SetEntityArn
|
train
|
func (s *AffectedEntity) SetEntityArn(v string) *AffectedEntity {
s.EntityArn = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2548
|
SetEntityValue
|
train
|
func (s *AffectedEntity) SetEntityValue(v string) *AffectedEntity {
s.EntityValue = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2549
|
SetEntityAggregates
|
train
|
func (s *DescribeEntityAggregatesOutput) SetEntityAggregates(v []*EntityAggregate) *DescribeEntityAggregatesOutput {
s.EntityAggregates = v
return s
}
|
go
|
{
"resource": ""
}
|
q2550
|
SetAggregateField
|
train
|
func (s *DescribeEventAggregatesInput) SetAggregateField(v string) *DescribeEventAggregatesInput {
s.AggregateField = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2551
|
SetEventAggregates
|
train
|
func (s *DescribeEventAggregatesOutput) SetEventAggregates(v []*EventAggregate) *DescribeEventAggregatesOutput {
s.EventAggregates = v
return s
}
|
go
|
{
"resource": ""
}
|
q2552
|
SetFailedSet
|
train
|
func (s *DescribeEventDetailsOutput) SetFailedSet(v []*EventDetailsErrorItem) *DescribeEventDetailsOutput {
s.FailedSet = v
return s
}
|
go
|
{
"resource": ""
}
|
q2553
|
SetSuccessfulSet
|
train
|
func (s *DescribeEventDetailsOutput) SetSuccessfulSet(v []*EventDetails) *DescribeEventDetailsOutput {
s.SuccessfulSet = v
return s
}
|
go
|
{
"resource": ""
}
|
q2554
|
SetEventTypeCategory
|
train
|
func (s *Event) SetEventTypeCategory(v string) *Event {
s.EventTypeCategory = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2555
|
SetEventTypeCode
|
train
|
func (s *Event) SetEventTypeCode(v string) *Event {
s.EventTypeCode = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2556
|
SetAggregateValue
|
train
|
func (s *EventAggregate) SetAggregateValue(v string) *EventAggregate {
s.AggregateValue = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2557
|
SetEventMetadata
|
train
|
func (s *EventDetails) SetEventMetadata(v map[string]*string) *EventDetails {
s.EventMetadata = v
return s
}
|
go
|
{
"resource": ""
}
|
q2558
|
SetErrorName
|
train
|
func (s *EventDetailsErrorItem) SetErrorName(v string) *EventDetailsErrorItem {
s.ErrorName = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2559
|
SetEndTimes
|
train
|
func (s *EventFilter) SetEndTimes(v []*DateTimeRange) *EventFilter {
s.EndTimes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2560
|
SetEventStatusCodes
|
train
|
func (s *EventFilter) SetEventStatusCodes(v []*string) *EventFilter {
s.EventStatusCodes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2561
|
SetStartTimes
|
train
|
func (s *EventFilter) SetStartTimes(v []*DateTimeRange) *EventFilter {
s.StartTimes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2562
|
SetCancelActive
|
train
|
func (s *DeactivatePipelineInput) SetCancelActive(v bool) *DeactivatePipelineInput {
s.CancelActive = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2563
|
SetEvaluateExpressions
|
train
|
func (s *DescribeObjectsInput) SetEvaluateExpressions(v bool) *DescribeObjectsInput {
s.EvaluateExpressions = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2564
|
SetPipelineIds
|
train
|
func (s *DescribePipelinesInput) SetPipelineIds(v []*string) *DescribePipelinesInput {
s.PipelineIds = v
return s
}
|
go
|
{
"resource": ""
}
|
q2565
|
SetPipelineDescriptionList
|
train
|
func (s *DescribePipelinesOutput) SetPipelineDescriptionList(v []*PipelineDescription) *DescribePipelinesOutput {
s.PipelineDescriptionList = v
return s
}
|
go
|
{
"resource": ""
}
|
q2566
|
SetObjectId
|
train
|
func (s *EvaluateExpressionInput) SetObjectId(v string) *EvaluateExpressionInput {
s.ObjectId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2567
|
SetEvaluatedExpression
|
train
|
func (s *EvaluateExpressionOutput) SetEvaluatedExpression(v string) *EvaluateExpressionOutput {
s.EvaluatedExpression = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2568
|
SetRefValue
|
train
|
func (s *Field) SetRefValue(v string) *Field {
s.RefValue = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2569
|
SetPipelineIdList
|
train
|
func (s *ListPipelinesOutput) SetPipelineIdList(v []*PipelineIdName) *ListPipelinesOutput {
s.PipelineIdList = v
return s
}
|
go
|
{
"resource": ""
}
|
q2570
|
SetTaskObject
|
train
|
func (s *PollForTaskOutput) SetTaskObject(v *TaskObject) *PollForTaskOutput {
s.TaskObject = v
return s
}
|
go
|
{
"resource": ""
}
|
q2571
|
SetSelectors
|
train
|
func (s *Query) SetSelectors(v []*Selector) *Query {
s.Selectors = v
return s
}
|
go
|
{
"resource": ""
}
|
q2572
|
SetSphere
|
train
|
func (s *QueryObjectsInput) SetSphere(v string) *QueryObjectsInput {
s.Sphere = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2573
|
SetCanceled
|
train
|
func (s *ReportTaskProgressOutput) SetCanceled(v bool) *ReportTaskProgressOutput {
s.Canceled = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2574
|
SetTaskrunnerId
|
train
|
func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput {
s.TaskrunnerId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2575
|
SetTerminate
|
train
|
func (s *ReportTaskRunnerHeartbeatOutput) SetTerminate(v bool) *ReportTaskRunnerHeartbeatOutput {
s.Terminate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2576
|
SetErrorId
|
train
|
func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput {
s.ErrorId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2577
|
SetErrorStackTrace
|
train
|
func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput {
s.ErrorStackTrace = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2578
|
SetAttemptId
|
train
|
func (s *TaskObject) SetAttemptId(v string) *TaskObject {
s.AttemptId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2579
|
SetAssociatedGatewayOwnerAccount
|
train
|
func (s *AcceptDirectConnectGatewayAssociationProposalInput) SetAssociatedGatewayOwnerAccount(v string) *AcceptDirectConnectGatewayAssociationProposalInput {
s.AssociatedGatewayOwnerAccount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2580
|
SetOverrideAllowedPrefixesToDirectConnectGateway
|
train
|
func (s *AcceptDirectConnectGatewayAssociationProposalInput) SetOverrideAllowedPrefixesToDirectConnectGateway(v []*RouteFilterPrefix) *AcceptDirectConnectGatewayAssociationProposalInput {
s.OverrideAllowedPrefixesToDirectConnectGateway = v
return s
}
|
go
|
{
"resource": ""
}
|
q2581
|
SetNewPrivateVirtualInterfaceAllocation
|
train
|
func (s *AllocatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterfaceAllocation(v *NewPrivateVirtualInterfaceAllocation) *AllocatePrivateVirtualInterfaceInput {
s.NewPrivateVirtualInterfaceAllocation = v
return s
}
|
go
|
{
"resource": ""
}
|
q2582
|
SetNewPublicVirtualInterfaceAllocation
|
train
|
func (s *AllocatePublicVirtualInterfaceInput) SetNewPublicVirtualInterfaceAllocation(v *NewPublicVirtualInterfaceAllocation) *AllocatePublicVirtualInterfaceInput {
s.NewPublicVirtualInterfaceAllocation = v
return s
}
|
go
|
{
"resource": ""
}
|
q2583
|
SetNewTransitVirtualInterfaceAllocation
|
train
|
func (s *AllocateTransitVirtualInterfaceInput) SetNewTransitVirtualInterfaceAllocation(v *NewTransitVirtualInterfaceAllocation) *AllocateTransitVirtualInterfaceInput {
s.NewTransitVirtualInterfaceAllocation = v
return s
}
|
go
|
{
"resource": ""
}
|
q2584
|
SetParentConnectionId
|
train
|
func (s *AssociateHostedConnectionInput) SetParentConnectionId(v string) *AssociateHostedConnectionInput {
s.ParentConnectionId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2585
|
SetBgpPeerState
|
train
|
func (s *BGPPeer) SetBgpPeerState(v string) *BGPPeer {
s.BgpPeerState = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2586
|
SetBgpStatus
|
train
|
func (s *BGPPeer) SetBgpStatus(v string) *BGPPeer {
s.BgpStatus = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2587
|
SetPartnerName
|
train
|
func (s *Connection) SetPartnerName(v string) *Connection {
s.PartnerName = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2588
|
SetNewBGPPeer
|
train
|
func (s *CreateBGPPeerInput) SetNewBGPPeer(v *NewBGPPeer) *CreateBGPPeerInput {
s.NewBGPPeer = v
return s
}
|
go
|
{
"resource": ""
}
|
q2589
|
SetNewPrivateVirtualInterface
|
train
|
func (s *CreatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterface(v *NewPrivateVirtualInterface) *CreatePrivateVirtualInterfaceInput {
s.NewPrivateVirtualInterface = v
return s
}
|
go
|
{
"resource": ""
}
|
q2590
|
SetNewPublicVirtualInterface
|
train
|
func (s *CreatePublicVirtualInterfaceInput) SetNewPublicVirtualInterface(v *NewPublicVirtualInterface) *CreatePublicVirtualInterfaceInput {
s.NewPublicVirtualInterface = v
return s
}
|
go
|
{
"resource": ""
}
|
q2591
|
SetNewTransitVirtualInterface
|
train
|
func (s *CreateTransitVirtualInterfaceInput) SetNewTransitVirtualInterface(v *NewTransitVirtualInterface) *CreateTransitVirtualInterfaceInput {
s.NewTransitVirtualInterface = v
return s
}
|
go
|
{
"resource": ""
}
|
q2592
|
SetDirectConnectGatewayAssociationProposals
|
train
|
func (s *DescribeDirectConnectGatewayAssociationProposalsOutput) SetDirectConnectGatewayAssociationProposals(v []*GatewayAssociationProposal) *DescribeDirectConnectGatewayAssociationProposalsOutput {
s.DirectConnectGatewayAssociationProposals = v
return s
}
|
go
|
{
"resource": ""
}
|
q2593
|
SetDirectConnectGatewayAssociations
|
train
|
func (s *DescribeDirectConnectGatewayAssociationsOutput) SetDirectConnectGatewayAssociations(v []*GatewayAssociation) *DescribeDirectConnectGatewayAssociationsOutput {
s.DirectConnectGatewayAssociations = v
return s
}
|
go
|
{
"resource": ""
}
|
q2594
|
SetDirectConnectGatewayAttachments
|
train
|
func (s *DescribeDirectConnectGatewayAttachmentsOutput) SetDirectConnectGatewayAttachments(v []*GatewayAttachment) *DescribeDirectConnectGatewayAttachmentsOutput {
s.DirectConnectGatewayAttachments = v
return s
}
|
go
|
{
"resource": ""
}
|
q2595
|
SetDirectConnectGateways
|
train
|
func (s *DescribeDirectConnectGatewaysOutput) SetDirectConnectGateways(v []*Gateway) *DescribeDirectConnectGatewaysOutput {
s.DirectConnectGateways = v
return s
}
|
go
|
{
"resource": ""
}
|
q2596
|
SetInterconnects
|
train
|
func (s *DescribeInterconnectsOutput) SetInterconnects(v []*Interconnect) *DescribeInterconnectsOutput {
s.Interconnects = v
return s
}
|
go
|
{
"resource": ""
}
|
q2597
|
SetLags
|
train
|
func (s *DescribeLagsOutput) SetLags(v []*Lag) *DescribeLagsOutput {
s.Lags = v
return s
}
|
go
|
{
"resource": ""
}
|
q2598
|
SetVirtualGateways
|
train
|
func (s *DescribeVirtualGatewaysOutput) SetVirtualGateways(v []*VirtualGateway) *DescribeVirtualGatewaysOutput {
s.VirtualGateways = v
return s
}
|
go
|
{
"resource": ""
}
|
q2599
|
SetVirtualInterfaces
|
train
|
func (s *DescribeVirtualInterfacesOutput) SetVirtualInterfaces(v []*VirtualInterface) *DescribeVirtualInterfacesOutput {
s.VirtualInterfaces = v
return s
}
|
go
|
{
"resource": ""
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.