_id
stringlengths 2
7
| title
stringlengths 1
118
| partition
stringclasses 3
values | text
stringlengths 52
85.5k
| language
stringclasses 1
value | meta_information
dict |
---|---|---|---|---|---|
q1000 | SetUpgradeProcessing | train | func (s *ElasticsearchDomainStatus) SetUpgradeProcessing(v bool) *ElasticsearchDomainStatus {
s.UpgradeProcessing = &v
return s
} | go | {
"resource": ""
} |
q1001 | SetCompatibleElasticsearchVersions | train | func (s *GetCompatibleElasticsearchVersionsOutput) SetCompatibleElasticsearchVersions(v []*CompatibleVersionsMap) *GetCompatibleElasticsearchVersionsOutput {
s.CompatibleElasticsearchVersions = v
return s
} | go | {
"resource": ""
} |
q1002 | SetUpgradeHistories | train | func (s *GetUpgradeHistoryOutput) SetUpgradeHistories(v []*UpgradeHistory) *GetUpgradeHistoryOutput {
s.UpgradeHistories = v
return s
} | go | {
"resource": ""
} |
q1003 | SetMaximumInstanceCount | train | func (s *InstanceCountLimits) SetMaximumInstanceCount(v int64) *InstanceCountLimits {
s.MaximumInstanceCount = &v
return s
} | go | {
"resource": ""
} |
q1004 | SetMinimumInstanceCount | train | func (s *InstanceCountLimits) SetMinimumInstanceCount(v int64) *InstanceCountLimits {
s.MinimumInstanceCount = &v
return s
} | go | {
"resource": ""
} |
q1005 | SetInstanceCountLimits | train | func (s *InstanceLimits) SetInstanceCountLimits(v *InstanceCountLimits) *InstanceLimits {
s.InstanceCountLimits = v
return s
} | go | {
"resource": ""
} |
q1006 | SetAdditionalLimits | train | func (s *Limits) SetAdditionalLimits(v []*AdditionalLimit) *Limits {
s.AdditionalLimits = v
return s
} | go | {
"resource": ""
} |
q1007 | SetInstanceLimits | train | func (s *Limits) SetInstanceLimits(v *InstanceLimits) *Limits {
s.InstanceLimits = v
return s
} | go | {
"resource": ""
} |
q1008 | SetStorageTypes | train | func (s *Limits) SetStorageTypes(v []*StorageType) *Limits {
s.StorageTypes = v
return s
} | go | {
"resource": ""
} |
q1009 | SetElasticsearchInstanceTypes | train | func (s *ListElasticsearchInstanceTypesOutput) SetElasticsearchInstanceTypes(v []*string) *ListElasticsearchInstanceTypesOutput {
s.ElasticsearchInstanceTypes = v
return s
} | go | {
"resource": ""
} |
q1010 | SetElasticsearchVersions | train | func (s *ListElasticsearchVersionsOutput) SetElasticsearchVersions(v []*string) *ListElasticsearchVersionsOutput {
s.ElasticsearchVersions = v
return s
} | go | {
"resource": ""
} |
q1011 | SetPendingDeletion | train | func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus {
s.PendingDeletion = &v
return s
} | go | {
"resource": ""
} |
q1012 | SetUpdateVersion | train | func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus {
s.UpdateVersion = &v
return s
} | go | {
"resource": ""
} |
q1013 | SetElasticsearchInstanceCount | train | func (s *ReservedElasticsearchInstance) SetElasticsearchInstanceCount(v int64) *ReservedElasticsearchInstance {
s.ElasticsearchInstanceCount = &v
return s
} | go | {
"resource": ""
} |
q1014 | SetAutomatedUpdateDate | train | func (s *ServiceSoftwareOptions) SetAutomatedUpdateDate(v time.Time) *ServiceSoftwareOptions {
s.AutomatedUpdateDate = &v
return s
} | go | {
"resource": ""
} |
q1015 | SetCancellable | train | func (s *ServiceSoftwareOptions) SetCancellable(v bool) *ServiceSoftwareOptions {
s.Cancellable = &v
return s
} | go | {
"resource": ""
} |
q1016 | SetNewVersion | train | func (s *ServiceSoftwareOptions) SetNewVersion(v string) *ServiceSoftwareOptions {
s.NewVersion = &v
return s
} | go | {
"resource": ""
} |
q1017 | SetUpdateAvailable | train | func (s *ServiceSoftwareOptions) SetUpdateAvailable(v bool) *ServiceSoftwareOptions {
s.UpdateAvailable = &v
return s
} | go | {
"resource": ""
} |
q1018 | SetAutomatedSnapshotStartHour | train | func (s *SnapshotOptions) SetAutomatedSnapshotStartHour(v int64) *SnapshotOptions {
s.AutomatedSnapshotStartHour = &v
return s
} | go | {
"resource": ""
} |
q1019 | SetStorageSubTypeName | train | func (s *StorageType) SetStorageSubTypeName(v string) *StorageType {
s.StorageSubTypeName = &v
return s
} | go | {
"resource": ""
} |
q1020 | SetStorageTypeLimits | train | func (s *StorageType) SetStorageTypeLimits(v []*StorageTypeLimit) *StorageType {
s.StorageTypeLimits = v
return s
} | go | {
"resource": ""
} |
q1021 | SetStorageTypeName | train | func (s *StorageType) SetStorageTypeName(v string) *StorageType {
s.StorageTypeName = &v
return s
} | go | {
"resource": ""
} |
q1022 | SetStepsList | train | func (s *UpgradeHistory) SetStepsList(v []*UpgradeStepItem) *UpgradeHistory {
s.StepsList = v
return s
} | go | {
"resource": ""
} |
q1023 | SetUpgradeStatus | train | func (s *UpgradeHistory) SetUpgradeStatus(v string) *UpgradeHistory {
s.UpgradeStatus = &v
return s
} | go | {
"resource": ""
} |
q1024 | SetIssues | train | func (s *UpgradeStepItem) SetIssues(v []*string) *UpgradeStepItem {
s.Issues = v
return s
} | go | {
"resource": ""
} |
q1025 | SetUpgradeStepStatus | train | func (s *UpgradeStepItem) SetUpgradeStepStatus(v string) *UpgradeStepItem {
s.UpgradeStepStatus = &v
return s
} | go | {
"resource": ""
} |
q1026 | SetAvailabilityZoneCount | train | func (s *ZoneAwarenessConfig) SetAvailabilityZoneCount(v int64) *ZoneAwarenessConfig {
s.AvailabilityZoneCount = &v
return s
} | go | {
"resource": ""
} |
q1027 | SetDeleteAt | train | func (s *CalculatedLifecycle) SetDeleteAt(v time.Time) *CalculatedLifecycle {
s.DeleteAt = &v
return s
} | go | {
"resource": ""
} |
q1028 | SetMoveToColdStorageAt | train | func (s *CalculatedLifecycle) SetMoveToColdStorageAt(v time.Time) *CalculatedLifecycle {
s.MoveToColdStorageAt = &v
return s
} | go | {
"resource": ""
} |
q1029 | SetConditionKey | train | func (s *Condition) SetConditionKey(v string) *Condition {
s.ConditionKey = &v
return s
} | go | {
"resource": ""
} |
q1030 | SetConditionType | train | func (s *Condition) SetConditionType(v string) *Condition {
s.ConditionType = &v
return s
} | go | {
"resource": ""
} |
q1031 | SetConditionValue | train | func (s *Condition) SetConditionValue(v string) *Condition {
s.ConditionValue = &v
return s
} | go | {
"resource": ""
} |
q1032 | SetBackupPlanTags | train | func (s *CreateBackupPlanInput) SetBackupPlanTags(v map[string]*string) *CreateBackupPlanInput {
s.BackupPlanTags = v
return s
} | go | {
"resource": ""
} |
q1033 | SetBackupVaultTags | train | func (s *CreateBackupVaultInput) SetBackupVaultTags(v map[string]*string) *CreateBackupVaultInput {
s.BackupVaultTags = v
return s
} | go | {
"resource": ""
} |
q1034 | SetBackupPlanDocument | train | func (s *GetBackupPlanFromTemplateOutput) SetBackupPlanDocument(v *Plan) *GetBackupPlanFromTemplateOutput {
s.BackupPlanDocument = v
return s
} | go | {
"resource": ""
} |
q1035 | SetRestoreMetadata | train | func (s *GetRecoveryPointRestoreMetadataOutput) SetRestoreMetadata(v map[string]*string) *GetRecoveryPointRestoreMetadataOutput {
s.RestoreMetadata = v
return s
} | go | {
"resource": ""
} |
q1036 | SetDeleteAfterDays | train | func (s *Lifecycle) SetDeleteAfterDays(v int64) *Lifecycle {
s.DeleteAfterDays = &v
return s
} | go | {
"resource": ""
} |
q1037 | SetMoveToColdStorageAfterDays | train | func (s *Lifecycle) SetMoveToColdStorageAfterDays(v int64) *Lifecycle {
s.MoveToColdStorageAfterDays = &v
return s
} | go | {
"resource": ""
} |
q1038 | SetByBackupVaultName | train | func (s *ListBackupJobsInput) SetByBackupVaultName(v string) *ListBackupJobsInput {
s.ByBackupVaultName = &v
return s
} | go | {
"resource": ""
} |
q1039 | SetByState | train | func (s *ListBackupJobsInput) SetByState(v string) *ListBackupJobsInput {
s.ByState = &v
return s
} | go | {
"resource": ""
} |
q1040 | SetBackupJobs | train | func (s *ListBackupJobsOutput) SetBackupJobs(v []*Job) *ListBackupJobsOutput {
s.BackupJobs = v
return s
} | go | {
"resource": ""
} |
q1041 | SetBackupPlanTemplatesList | train | func (s *ListBackupPlanTemplatesOutput) SetBackupPlanTemplatesList(v []*PlanTemplatesListMember) *ListBackupPlanTemplatesOutput {
s.BackupPlanTemplatesList = v
return s
} | go | {
"resource": ""
} |
q1042 | SetBackupPlanVersionsList | train | func (s *ListBackupPlanVersionsOutput) SetBackupPlanVersionsList(v []*PlansListMember) *ListBackupPlanVersionsOutput {
s.BackupPlanVersionsList = v
return s
} | go | {
"resource": ""
} |
q1043 | SetBackupPlansList | train | func (s *ListBackupPlansOutput) SetBackupPlansList(v []*PlansListMember) *ListBackupPlansOutput {
s.BackupPlansList = v
return s
} | go | {
"resource": ""
} |
q1044 | SetBackupSelectionsList | train | func (s *ListBackupSelectionsOutput) SetBackupSelectionsList(v []*SelectionsListMember) *ListBackupSelectionsOutput {
s.BackupSelectionsList = v
return s
} | go | {
"resource": ""
} |
q1045 | SetBackupVaultList | train | func (s *ListBackupVaultsOutput) SetBackupVaultList(v []*VaultListMember) *ListBackupVaultsOutput {
s.BackupVaultList = v
return s
} | go | {
"resource": ""
} |
q1046 | SetByBackupPlanId | train | func (s *ListRecoveryPointsByBackupVaultInput) SetByBackupPlanId(v string) *ListRecoveryPointsByBackupVaultInput {
s.ByBackupPlanId = &v
return s
} | go | {
"resource": ""
} |
q1047 | SetRestoreJobs | train | func (s *ListRestoreJobsOutput) SetRestoreJobs(v []*RestoreJobsListMember) *ListRestoreJobsOutput {
s.RestoreJobs = v
return s
} | go | {
"resource": ""
} |
q1048 | SetBackupPlanTemplateName | train | func (s *PlanTemplatesListMember) SetBackupPlanTemplateName(v string) *PlanTemplatesListMember {
s.BackupPlanTemplateName = &v
return s
} | go | {
"resource": ""
} |
q1049 | SetBackupPlanVersion | train | func (s *RecoveryPointCreator) SetBackupPlanVersion(v string) *RecoveryPointCreator {
s.BackupPlanVersion = &v
return s
} | go | {
"resource": ""
} |
q1050 | SetBackupRuleId | train | func (s *RecoveryPointCreator) SetBackupRuleId(v string) *RecoveryPointCreator {
s.BackupRuleId = &v
return s
} | go | {
"resource": ""
} |
q1051 | SetListOfTags | train | func (s *Selection) SetListOfTags(v []*Condition) *Selection {
s.ListOfTags = v
return s
} | go | {
"resource": ""
} |
q1052 | SetCompleteWindowMinutes | train | func (s *StartBackupJobInput) SetCompleteWindowMinutes(v int64) *StartBackupJobInput {
s.CompleteWindowMinutes = &v
return s
} | go | {
"resource": ""
} |
q1053 | SetRDSData | train | func (s *CreateDataSourceFromRDSInput) SetRDSData(v *RDSDataSpec) *CreateDataSourceFromRDSInput {
s.RDSData = v
return s
} | go | {
"resource": ""
} |
q1054 | SetRecipeUri | train | func (s *CreateMLModelInput) SetRecipeUri(v string) *CreateMLModelInput {
s.RecipeUri = &v
return s
} | go | {
"resource": ""
} |
q1055 | SetDataSourceSchema | train | func (s *GetDataSourceOutput) SetDataSourceSchema(v string) *GetDataSourceOutput {
s.DataSourceSchema = &v
return s
} | go | {
"resource": ""
} |
q1056 | SetPredictEndpoint | train | func (s *PredictInput) SetPredictEndpoint(v string) *PredictInput {
s.PredictEndpoint = &v
return s
} | go | {
"resource": ""
} |
q1057 | SetPrediction | train | func (s *PredictOutput) SetPrediction(v *Prediction) *PredictOutput {
s.Prediction = v
return s
} | go | {
"resource": ""
} |
q1058 | SetPredictedLabel | train | func (s *Prediction) SetPredictedLabel(v string) *Prediction {
s.PredictedLabel = &v
return s
} | go | {
"resource": ""
} |
q1059 | SetPredictedScores | train | func (s *Prediction) SetPredictedScores(v map[string]*float64) *Prediction {
s.PredictedScores = v
return s
} | go | {
"resource": ""
} |
q1060 | SetPredictedValue | train | func (s *Prediction) SetPredictedValue(v float64) *Prediction {
s.PredictedValue = &v
return s
} | go | {
"resource": ""
} |
q1061 | SetInstanceIdentifier | train | func (s *RDSDatabase) SetInstanceIdentifier(v string) *RDSDatabase {
s.InstanceIdentifier = &v
return s
} | go | {
"resource": ""
} |
q1062 | SetDataPipelineId | train | func (s *RDSMetadata) SetDataPipelineId(v string) *RDSMetadata {
s.DataPipelineId = &v
return s
} | go | {
"resource": ""
} |
q1063 | SetEndpointUrl | train | func (s *RealtimeEndpointInfo) SetEndpointUrl(v string) *RealtimeEndpointInfo {
s.EndpointUrl = &v
return s
} | go | {
"resource": ""
} |
q1064 | SetPeakRequestsPerSecond | train | func (s *RealtimeEndpointInfo) SetPeakRequestsPerSecond(v int64) *RealtimeEndpointInfo {
s.PeakRequestsPerSecond = &v
return s
} | go | {
"resource": ""
} |
q1065 | SetRedshiftDatabase | train | func (s *RedshiftMetadata) SetRedshiftDatabase(v *RedshiftDatabase) *RedshiftMetadata {
s.RedshiftDatabase = v
return s
} | go | {
"resource": ""
} |
q1066 | SetDataSchemaLocationS3 | train | func (s *S3DataSpec) SetDataSchemaLocationS3(v string) *S3DataSpec {
s.DataSchemaLocationS3 = &v
return s
} | go | {
"resource": ""
} |
q1067 | UnmarshalDiscardBody | train | func UnmarshalDiscardBody(r *request.Request) {
if r.HTTPResponse == nil || r.HTTPResponse.Body == nil {
return
}
io.Copy(ioutil.Discard, r.HTTPResponse.Body)
r.HTTPResponse.Body.Close()
} | go | {
"resource": ""
} |
q1068 | CreateRegexMatchSet | train | func (c *WAF) CreateRegexMatchSet(input *CreateRegexMatchSetInput) (*CreateRegexMatchSetOutput, error) {
req, out := c.CreateRegexMatchSetRequest(input)
return out, req.Send()
} | go | {
"resource": ""
} |
q1069 | SetExcludedRules | train | func (s *ActivatedRule) SetExcludedRules(v []*ExcludedRule) *ActivatedRule {
s.ExcludedRules = v
return s
} | go | {
"resource": ""
} |
q1070 | SetOverrideAction | train | func (s *ActivatedRule) SetOverrideAction(v *WafOverrideAction) *ActivatedRule {
s.OverrideAction = v
return s
} | go | {
"resource": ""
} |
q1071 | SetByteMatchTuples | train | func (s *ByteMatchSet) SetByteMatchTuples(v []*ByteMatchTuple) *ByteMatchSet {
s.ByteMatchTuples = v
return s
} | go | {
"resource": ""
} |
q1072 | SetByteMatchTuple | train | func (s *ByteMatchSetUpdate) SetByteMatchTuple(v *ByteMatchTuple) *ByteMatchSetUpdate {
s.ByteMatchTuple = v
return s
} | go | {
"resource": ""
} |
q1073 | SetPositionalConstraint | train | func (s *ByteMatchTuple) SetPositionalConstraint(v string) *ByteMatchTuple {
s.PositionalConstraint = &v
return s
} | go | {
"resource": ""
} |
q1074 | SetTargetString | train | func (s *ByteMatchTuple) SetTargetString(v []byte) *ByteMatchTuple {
s.TargetString = v
return s
} | go | {
"resource": ""
} |
q1075 | SetGeoMatchConstraints | train | func (s *GeoMatchSet) SetGeoMatchConstraints(v []*GeoMatchConstraint) *GeoMatchSet {
s.GeoMatchConstraints = v
return s
} | go | {
"resource": ""
} |
q1076 | SetGeoMatchConstraint | train | func (s *GeoMatchSetUpdate) SetGeoMatchConstraint(v *GeoMatchConstraint) *GeoMatchSetUpdate {
s.GeoMatchConstraint = v
return s
} | go | {
"resource": ""
} |
q1077 | SetChangeTokenStatus | train | func (s *GetChangeTokenStatusOutput) SetChangeTokenStatus(v string) *GetChangeTokenStatusOutput {
s.ChangeTokenStatus = &v
return s
} | go | {
"resource": ""
} |
q1078 | SetManagedKeys | train | func (s *GetRateBasedRuleManagedKeysOutput) SetManagedKeys(v []*string) *GetRateBasedRuleManagedKeysOutput {
s.ManagedKeys = v
return s
} | go | {
"resource": ""
} |
q1079 | SetWebAclId | train | func (s *GetSampledRequestsInput) SetWebAclId(v string) *GetSampledRequestsInput {
s.WebAclId = &v
return s
} | go | {
"resource": ""
} |
q1080 | SetPopulationSize | train | func (s *GetSampledRequestsOutput) SetPopulationSize(v int64) *GetSampledRequestsOutput {
s.PopulationSize = &v
return s
} | go | {
"resource": ""
} |
q1081 | SetSampledRequests | train | func (s *GetSampledRequestsOutput) SetSampledRequests(v []*SampledHTTPRequest) *GetSampledRequestsOutput {
s.SampledRequests = v
return s
} | go | {
"resource": ""
} |
q1082 | SetClientIP | train | func (s *HTTPRequest) SetClientIP(v string) *HTTPRequest {
s.ClientIP = &v
return s
} | go | {
"resource": ""
} |
q1083 | SetHTTPVersion | train | func (s *HTTPRequest) SetHTTPVersion(v string) *HTTPRequest {
s.HTTPVersion = &v
return s
} | go | {
"resource": ""
} |
q1084 | SetIPSetDescriptors | train | func (s *IPSet) SetIPSetDescriptors(v []*IPSetDescriptor) *IPSet {
s.IPSetDescriptors = v
return s
} | go | {
"resource": ""
} |
q1085 | SetIPSetDescriptor | train | func (s *IPSetUpdate) SetIPSetDescriptor(v *IPSetDescriptor) *IPSetUpdate {
s.IPSetDescriptor = v
return s
} | go | {
"resource": ""
} |
q1086 | SetActivatedRules | train | func (s *ListActivatedRulesInRuleGroupOutput) SetActivatedRules(v []*ActivatedRule) *ListActivatedRulesInRuleGroupOutput {
s.ActivatedRules = v
return s
} | go | {
"resource": ""
} |
q1087 | SetByteMatchSets | train | func (s *ListByteMatchSetsOutput) SetByteMatchSets(v []*ByteMatchSetSummary) *ListByteMatchSetsOutput {
s.ByteMatchSets = v
return s
} | go | {
"resource": ""
} |
q1088 | SetGeoMatchSets | train | func (s *ListGeoMatchSetsOutput) SetGeoMatchSets(v []*GeoMatchSetSummary) *ListGeoMatchSetsOutput {
s.GeoMatchSets = v
return s
} | go | {
"resource": ""
} |
q1089 | SetIPSets | train | func (s *ListIPSetsOutput) SetIPSets(v []*IPSetSummary) *ListIPSetsOutput {
s.IPSets = v
return s
} | go | {
"resource": ""
} |
q1090 | SetLoggingConfigurations | train | func (s *ListLoggingConfigurationsOutput) SetLoggingConfigurations(v []*LoggingConfiguration) *ListLoggingConfigurationsOutput {
s.LoggingConfigurations = v
return s
} | go | {
"resource": ""
} |
q1091 | SetRegexMatchSets | train | func (s *ListRegexMatchSetsOutput) SetRegexMatchSets(v []*RegexMatchSetSummary) *ListRegexMatchSetsOutput {
s.RegexMatchSets = v
return s
} | go | {
"resource": ""
} |
q1092 | SetRegexPatternSets | train | func (s *ListRegexPatternSetsOutput) SetRegexPatternSets(v []*RegexPatternSetSummary) *ListRegexPatternSetsOutput {
s.RegexPatternSets = v
return s
} | go | {
"resource": ""
} |
q1093 | SetSizeConstraintSets | train | func (s *ListSizeConstraintSetsOutput) SetSizeConstraintSets(v []*SizeConstraintSetSummary) *ListSizeConstraintSetsOutput {
s.SizeConstraintSets = v
return s
} | go | {
"resource": ""
} |
q1094 | SetSqlInjectionMatchSets | train | func (s *ListSqlInjectionMatchSetsOutput) SetSqlInjectionMatchSets(v []*SqlInjectionMatchSetSummary) *ListSqlInjectionMatchSetsOutput {
s.SqlInjectionMatchSets = v
return s
} | go | {
"resource": ""
} |
q1095 | SetWebACLs | train | func (s *ListWebACLsOutput) SetWebACLs(v []*WebACLSummary) *ListWebACLsOutput {
s.WebACLs = v
return s
} | go | {
"resource": ""
} |
q1096 | SetXssMatchSets | train | func (s *ListXssMatchSetsOutput) SetXssMatchSets(v []*XssMatchSetSummary) *ListXssMatchSetsOutput {
s.XssMatchSets = v
return s
} | go | {
"resource": ""
} |
q1097 | SetLogDestinationConfigs | train | func (s *LoggingConfiguration) SetLogDestinationConfigs(v []*string) *LoggingConfiguration {
s.LogDestinationConfigs = v
return s
} | go | {
"resource": ""
} |
q1098 | SetRedactedFields | train | func (s *LoggingConfiguration) SetRedactedFields(v []*FieldToMatch) *LoggingConfiguration {
s.RedactedFields = v
return s
} | go | {
"resource": ""
} |
q1099 | SetDataId | train | func (s *Predicate) SetDataId(v string) *Predicate {
s.DataId = &v
return s
} | go | {
"resource": ""
} |