idx int64 0 41.8k | question stringlengths 64 85.5k | target stringlengths 8 1.22k |
|---|---|---|
0 | func ( s * ObjectLockRetention ) SetRetainUntilDate ( v time . Time ) * ObjectLockRetention { s . RetainUntilDate = & v
return s
} | SetRetainUntilDate sets the RetainUntilDate field s value . |
1 | func ( s * ObjectLockRule ) SetDefaultRetention ( v * DefaultRetention ) * ObjectLockRule { s . DefaultRetention = v
return s
} | SetDefaultRetention sets the DefaultRetention field s value . |
2 | func ( s * PolicyStatus ) SetIsPublic ( v bool ) * PolicyStatus { s . IsPublic = & v
return s
} | SetIsPublic sets the IsPublic field s value . |
3 | func ( s * PublicAccessBlockConfiguration ) SetBlockPublicAcls ( v bool ) * PublicAccessBlockConfiguration { s . BlockPublicAcls = & v
return s
} | SetBlockPublicAcls sets the BlockPublicAcls field s value . |
4 | func ( s * PublicAccessBlockConfiguration ) SetBlockPublicPolicy ( v bool ) * PublicAccessBlockConfiguration { s . BlockPublicPolicy = & v
return s
} | SetBlockPublicPolicy sets the BlockPublicPolicy field s value . |
5 | func ( s * PublicAccessBlockConfiguration ) SetIgnorePublicAcls ( v bool ) * PublicAccessBlockConfiguration { s . IgnorePublicAcls = & v
return s
} | SetIgnorePublicAcls sets the IgnorePublicAcls field s value . |
6 | func ( s * PublicAccessBlockConfiguration ) SetRestrictPublicBuckets ( v bool ) * PublicAccessBlockConfiguration { s . RestrictPublicBuckets = & v
return s
} | SetRestrictPublicBuckets sets the RestrictPublicBuckets field s value . |
7 | func ( s * PutBucketAccelerateConfigurationInput ) SetAccelerateConfiguration ( v * AccelerateConfiguration ) * PutBucketAccelerateConfigurationInput { s . AccelerateConfiguration = v
return s
} | SetAccelerateConfiguration sets the AccelerateConfiguration field s value . |
8 | func ( s * PutBucketCorsInput ) SetCORSConfiguration ( v * CORSConfiguration ) * PutBucketCorsInput { s . CORSConfiguration = v
return s
} | SetCORSConfiguration sets the CORSConfiguration field s value . |
9 | func ( s * PutBucketLoggingInput ) SetBucketLoggingStatus ( v * BucketLoggingStatus ) * PutBucketLoggingInput { s . BucketLoggingStatus = v
return s
} | SetBucketLoggingStatus sets the BucketLoggingStatus field s value . |
10 | func ( s * PutBucketPolicyInput ) SetConfirmRemoveSelfBucketAccess ( v bool ) * PutBucketPolicyInput { s . ConfirmRemoveSelfBucketAccess = & v
return s
} | SetConfirmRemoveSelfBucketAccess sets the ConfirmRemoveSelfBucketAccess field s value . |
11 | func ( s * PutBucketRequestPaymentInput ) SetRequestPaymentConfiguration ( v * RequestPaymentConfiguration ) * PutBucketRequestPaymentInput { s . RequestPaymentConfiguration = v
return s
} | SetRequestPaymentConfiguration sets the RequestPaymentConfiguration field s value . |
12 | func ( s * PutBucketWebsiteInput ) SetWebsiteConfiguration ( v * WebsiteConfiguration ) * PutBucketWebsiteInput { s . WebsiteConfiguration = v
return s
} | SetWebsiteConfiguration sets the WebsiteConfiguration field s value . |
13 | func ( s * QueueConfiguration ) SetQueueArn ( v string ) * QueueConfiguration { s . QueueArn = & v
return s
} | SetQueueArn sets the QueueArn field s value . |
14 | func ( s * RecordsEvent ) UnmarshalEvent ( payloadUnmarshaler protocol . PayloadUnmarshaler , msg eventstream . Message , ) error { s . Payload = make ( [ ] byte , len ( msg . Payload ) )
copy ( s . Payload , msg . Payload )
return nil
} | UnmarshalEvent unmarshals the EventStream Message into the RecordsEvent value . This method is only used internally within the SDK s EventStream handling . |
15 | func ( s * Redirect ) SetHttpRedirectCode ( v string ) * Redirect { s . HttpRedirectCode = & v
return s
} | SetHttpRedirectCode sets the HttpRedirectCode field s value . |
16 | func ( s * Redirect ) SetReplaceKeyPrefixWith ( v string ) * Redirect { s . ReplaceKeyPrefixWith = & v
return s
} | SetReplaceKeyPrefixWith sets the ReplaceKeyPrefixWith field s value . |
17 | func ( s * Redirect ) SetReplaceKeyWith ( v string ) * Redirect { s . ReplaceKeyWith = & v
return s
} | SetReplaceKeyWith sets the ReplaceKeyWith field s value . |
18 | func ( s * ReplicationRule ) SetDeleteMarkerReplication ( v * DeleteMarkerReplication ) * ReplicationRule { s . DeleteMarkerReplication = v
return s
} | SetDeleteMarkerReplication sets the DeleteMarkerReplication field s value . |
19 | func ( s * ReplicationRule ) SetSourceSelectionCriteria ( v * SourceSelectionCriteria ) * ReplicationRule { s . SourceSelectionCriteria = v
return s
} | SetSourceSelectionCriteria sets the SourceSelectionCriteria field s value . |
20 | func ( s * RestoreObjectInput ) SetRestoreRequest ( v * RestoreRequest ) * RestoreObjectInput { s . RestoreRequest = v
return s
} | SetRestoreRequest sets the RestoreRequest field s value . |
21 | func ( s * RestoreObjectOutput ) SetRestoreOutputPath ( v string ) * RestoreObjectOutput { s . RestoreOutputPath = & v
return s
} | SetRestoreOutputPath sets the RestoreOutputPath field s value . |
22 | func ( s * RestoreRequest ) SetGlacierJobParameters ( v * GlacierJobParameters ) * RestoreRequest { s . GlacierJobParameters = v
return s
} | SetGlacierJobParameters sets the GlacierJobParameters field s value . |
23 | func ( s * RoutingRule ) SetRedirect ( v * Redirect ) * RoutingRule { s . Redirect = v
return s
} | SetRedirect sets the Redirect field s value . |
24 | func ( s * Rule ) SetNoncurrentVersionTransition ( v * NoncurrentVersionTransition ) * Rule { s . NoncurrentVersionTransition = v
return s
} | SetNoncurrentVersionTransition sets the NoncurrentVersionTransition field s value . |
25 | func ( s * Rule ) SetTransition ( v * Transition ) * Rule { s . Transition = v
return s
} | SetTransition sets the Transition field s value . |
26 | func ( s * SelectObjectContentInput ) SetRequestProgress ( v * RequestProgress ) * SelectObjectContentInput { s . RequestProgress = v
return s
} | SetRequestProgress sets the RequestProgress field s value . |
27 | func ( s * ServerSideEncryptionByDefault ) SetKMSMasterKeyID ( v string ) * ServerSideEncryptionByDefault { s . KMSMasterKeyID = & v
return s
} | SetKMSMasterKeyID sets the KMSMasterKeyID field s value . |
28 | func ( s * ServerSideEncryptionRule ) SetApplyServerSideEncryptionByDefault ( v * ServerSideEncryptionByDefault ) * ServerSideEncryptionRule { s . ApplyServerSideEncryptionByDefault = v
return s
} | SetApplyServerSideEncryptionByDefault sets the ApplyServerSideEncryptionByDefault field s value . |
29 | func ( s * SourceSelectionCriteria ) SetSseKmsEncryptedObjects ( v * SseKmsEncryptedObjects ) * SourceSelectionCriteria { s . SseKmsEncryptedObjects = v
return s
} | SetSseKmsEncryptedObjects sets the SseKmsEncryptedObjects field s value . |
30 | func ( s * StorageClassAnalysis ) SetDataExport ( v * StorageClassAnalysisDataExport ) * StorageClassAnalysis { s . DataExport = v
return s
} | SetDataExport sets the DataExport field s value . |
31 | func ( s * StorageClassAnalysisDataExport ) SetOutputSchemaVersion ( v string ) * StorageClassAnalysisDataExport { s . OutputSchemaVersion = & v
return s
} | SetOutputSchemaVersion sets the OutputSchemaVersion field s value . |
32 | func ( s * UploadPartCopyInput ) SetCopySourceRange ( v string ) * UploadPartCopyInput { s . CopySourceRange = & v
return s
} | SetCopySourceRange sets the CopySourceRange field s value . |
33 | func ( s * UploadPartCopyOutput ) SetCopyPartResult ( v * CopyPartResult ) * UploadPartCopyOutput { s . CopyPartResult = v
return s
} | SetCopyPartResult sets the CopyPartResult field s value . |
34 | func ( s * AccessKeyDetails ) SetUserType ( v string ) * AccessKeyDetails { s . UserType = & v
return s
} | SetUserType sets the UserType field s value . |
35 | func ( s * Action ) SetAwsApiCallAction ( v * AwsApiCallAction ) * Action { s . AwsApiCallAction = v
return s
} | SetAwsApiCallAction sets the AwsApiCallAction field s value . |
36 | func ( s * Action ) SetDnsRequestAction ( v * DnsRequestAction ) * Action { s . DnsRequestAction = v
return s
} | SetDnsRequestAction sets the DnsRequestAction field s value . |
37 | func ( s * Action ) SetNetworkConnectionAction ( v * NetworkConnectionAction ) * Action { s . NetworkConnectionAction = v
return s
} | SetNetworkConnectionAction sets the NetworkConnectionAction field s value . |
38 | func ( s * Action ) SetPortProbeAction ( v * PortProbeAction ) * Action { s . PortProbeAction = v
return s
} | SetPortProbeAction sets the PortProbeAction field s value . |
39 | func ( s * AwsApiCallAction ) SetApi ( v string ) * AwsApiCallAction { s . Api = & v
return s
} | SetApi sets the Api field s value . |
40 | func ( s * AwsApiCallAction ) SetCallerType ( v string ) * AwsApiCallAction { s . CallerType = & v
return s
} | SetCallerType sets the CallerType field s value . |
41 | func ( s * AwsApiCallAction ) SetDomainDetails ( v * DomainDetails ) * AwsApiCallAction { s . DomainDetails = v
return s
} | SetDomainDetails sets the DomainDetails field s value . |
42 | func ( s * City ) SetCityName ( v string ) * City { s . CityName = & v
return s
} | SetCityName sets the CityName field s value . |
43 | func ( s * Condition ) SetGt ( v int64 ) * Condition { s . Gt = & v
return s
} | SetGt sets the Gt field s value . |
44 | func ( s * Condition ) SetLt ( v int64 ) * Condition { s . Lt = & v
return s
} | SetLt sets the Lt field s value . |
45 | func ( s * Condition ) SetNeq ( v [ ] * string ) * Condition { s . Neq = v
return s
} | SetNeq sets the Neq field s value . |
46 | func ( s * CreateMembersInput ) SetAccountDetails ( v [ ] * AccountDetail ) * CreateMembersInput { s . AccountDetails = v
return s
} | SetAccountDetails sets the AccountDetails field s value . |
47 | func ( s * CreateSampleFindingsInput ) SetFindingTypes ( v [ ] * string ) * CreateSampleFindingsInput { s . FindingTypes = v
return s
} | SetFindingTypes sets the FindingTypes field s value . |
48 | func ( s * FindingCriteria ) SetCriterion ( v map [ string ] * Condition ) * FindingCriteria { s . Criterion = v
return s
} | SetCriterion sets the Criterion field s value . |
49 | func ( s * FindingStatistics ) SetCountBySeverity ( v map [ string ] * int64 ) * FindingStatistics { s . CountBySeverity = v
return s
} | SetCountBySeverity sets the CountBySeverity field s value . |
50 | func ( s * GeoLocation ) SetLat ( v float64 ) * GeoLocation { s . Lat = & v
return s
} | SetLat sets the Lat field s value . |
51 | func ( s * GeoLocation ) SetLon ( v float64 ) * GeoLocation { s . Lon = & v
return s
} | SetLon sets the Lon field s value . |
52 | func ( s * GetFindingsStatisticsInput ) SetFindingStatisticTypes ( v [ ] * string ) * GetFindingsStatisticsInput { s . FindingStatisticTypes = v
return s
} | SetFindingStatisticTypes sets the FindingStatisticTypes field s value . |
53 | func ( s * GetFindingsStatisticsOutput ) SetFindingStatistics ( v * FindingStatistics ) * GetFindingsStatisticsOutput { s . FindingStatistics = v
return s
} | SetFindingStatistics sets the FindingStatistics field s value . |
54 | func ( s * GetInvitationsCountOutput ) SetInvitationsCount ( v int64 ) * GetInvitationsCountOutput { s . InvitationsCount = & v
return s
} | SetInvitationsCount sets the InvitationsCount field s value . |
55 | func ( s * GetMasterAccountOutput ) SetMaster ( v * Master ) * GetMasterAccountOutput { s . Master = v
return s
} | SetMaster sets the Master field s value . |
56 | func ( s * InstanceDetails ) SetInstanceState ( v string ) * InstanceDetails { s . InstanceState = & v
return s
} | SetInstanceState sets the InstanceState field s value . |
57 | func ( s * InstanceDetails ) SetProductCodes ( v [ ] * ProductCode ) * InstanceDetails { s . ProductCodes = v
return s
} | SetProductCodes sets the ProductCodes field s value . |
58 | func ( s * InviteMembersInput ) SetDisableEmailNotification ( v bool ) * InviteMembersInput { s . DisableEmailNotification = & v
return s
} | SetDisableEmailNotification sets the DisableEmailNotification field s value . |
59 | func ( s * ListDetectorsOutput ) SetDetectorIds ( v [ ] * string ) * ListDetectorsOutput { s . DetectorIds = v
return s
} | SetDetectorIds sets the DetectorIds field s value . |
60 | func ( s * ListFiltersOutput ) SetFilterNames ( v [ ] * string ) * ListFiltersOutput { s . FilterNames = v
return s
} | SetFilterNames sets the FilterNames field s value . |
61 | func ( s * ListIPSetsOutput ) SetIpSetIds ( v [ ] * string ) * ListIPSetsOutput { s . IpSetIds = v
return s
} | SetIpSetIds sets the IpSetIds field s value . |
62 | func ( s * ListThreatIntelSetsOutput ) SetThreatIntelSetIds ( v [ ] * string ) * ListThreatIntelSetsOutput { s . ThreatIntelSetIds = v
return s
} | SetThreatIntelSetIds sets the ThreatIntelSetIds field s value . |
63 | func ( s * NetworkConnectionAction ) SetConnectionDirection ( v string ) * NetworkConnectionAction { s . ConnectionDirection = & v
return s
} | SetConnectionDirection sets the ConnectionDirection field s value . |
64 | func ( s * NetworkConnectionAction ) SetRemotePortDetails ( v * RemotePortDetails ) * NetworkConnectionAction { s . RemotePortDetails = v
return s
} | SetRemotePortDetails sets the RemotePortDetails field s value . |
65 | func ( s * NetworkInterface ) SetIpv6Addresses ( v [ ] * string ) * NetworkInterface { s . Ipv6Addresses = v
return s
} | SetIpv6Addresses sets the Ipv6Addresses field s value . |
66 | func ( s * Organization ) SetAsnOrg ( v string ) * Organization { s . AsnOrg = & v
return s
} | SetAsnOrg sets the AsnOrg field s value . |
67 | func ( s * Organization ) SetIsp ( v string ) * Organization { s . Isp = & v
return s
} | SetIsp sets the Isp field s value . |
68 | func ( s * Organization ) SetOrg ( v string ) * Organization { s . Org = & v
return s
} | SetOrg sets the Org field s value . |
69 | func ( s * PortProbeAction ) SetPortProbeDetails ( v [ ] * PortProbeDetail ) * PortProbeAction { s . PortProbeDetails = v
return s
} | SetPortProbeDetails sets the PortProbeDetails field s value . |
70 | func ( s * RemoteIpDetails ) SetIpAddressV4 ( v string ) * RemoteIpDetails { s . IpAddressV4 = & v
return s
} | SetIpAddressV4 sets the IpAddressV4 field s value . |
71 | func ( s * Resource ) SetAccessKeyDetails ( v * AccessKeyDetails ) * Resource { s . AccessKeyDetails = v
return s
} | SetAccessKeyDetails sets the AccessKeyDetails field s value . |
72 | func ( s * Service ) SetArchived ( v bool ) * Service { s . Archived = & v
return s
} | SetArchived sets the Archived field s value . |
73 | func ( s * Service ) SetEventFirstSeen ( v string ) * Service { s . EventFirstSeen = & v
return s
} | SetEventFirstSeen sets the EventFirstSeen field s value . |
74 | func ( s * Service ) SetEventLastSeen ( v string ) * Service { s . EventLastSeen = & v
return s
} | SetEventLastSeen sets the EventLastSeen field s value . |
75 | func ( s * Service ) SetUserFeedback ( v string ) * Service { s . UserFeedback = & v
return s
} | SetUserFeedback sets the UserFeedback field s value . |
76 | func ( s * UpdateFindingsFeedbackInput ) SetFeedback ( v string ) * UpdateFindingsFeedbackInput { s . Feedback = & v
return s
} | SetFeedback sets the Feedback field s value . |
77 | func ( s * BatchDeleteBuildsOutput ) SetBuildsDeleted ( v [ ] * string ) * BatchDeleteBuildsOutput { s . BuildsDeleted = v
return s
} | SetBuildsDeleted sets the BuildsDeleted field s value . |
78 | func ( s * BatchDeleteBuildsOutput ) SetBuildsNotDeleted ( v [ ] * BuildNotDeleted ) * BatchDeleteBuildsOutput { s . BuildsNotDeleted = v
return s
} | SetBuildsNotDeleted sets the BuildsNotDeleted field s value . |
79 | func ( s * BatchGetBuildsOutput ) SetBuildsNotFound ( v [ ] * string ) * BatchGetBuildsOutput { s . BuildsNotFound = v
return s
} | SetBuildsNotFound sets the BuildsNotFound field s value . |
80 | func ( s * BatchGetProjectsOutput ) SetProjectsNotFound ( v [ ] * string ) * BatchGetProjectsOutput { s . ProjectsNotFound = v
return s
} | SetProjectsNotFound sets the ProjectsNotFound field s value . |
81 | func ( s * Build ) SetBuildComplete ( v bool ) * Build { s . BuildComplete = & v
return s
} | SetBuildComplete sets the BuildComplete field s value . |
82 | func ( s * Build ) SetBuildStatus ( v string ) * Build { s . BuildStatus = & v
return s
} | SetBuildStatus sets the BuildStatus field s value . |
83 | func ( s * Build ) SetNetworkInterface ( v * NetworkInterface ) * Build { s . NetworkInterface = v
return s
} | SetNetworkInterface sets the NetworkInterface field s value . |
84 | func ( s * Build ) SetPhases ( v [ ] * BuildPhase ) * Build { s . Phases = v
return s
} | SetPhases sets the Phases field s value . |
85 | func ( s * Build ) SetResolvedSourceVersion ( v string ) * Build { s . ResolvedSourceVersion = & v
return s
} | SetResolvedSourceVersion sets the ResolvedSourceVersion field s value . |
86 | func ( s * Build ) SetSecondarySourceVersions ( v [ ] * ProjectSourceVersion ) * Build { s . SecondarySourceVersions = v
return s
} | SetSecondarySourceVersions sets the SecondarySourceVersions field s value . |
87 | func ( s * BuildArtifacts ) SetMd5sum ( v string ) * BuildArtifacts { s . Md5sum = & v
return s
} | SetMd5sum sets the Md5sum field s value . |
88 | func ( s * BuildArtifacts ) SetSha256sum ( v string ) * BuildArtifacts { s . Sha256sum = & v
return s
} | SetSha256sum sets the Sha256sum field s value . |
89 | func ( s * BuildPhase ) SetContexts ( v [ ] * PhaseContext ) * BuildPhase { s . Contexts = v
return s
} | SetContexts sets the Contexts field s value . |
90 | func ( s * BuildPhase ) SetPhaseStatus ( v string ) * BuildPhase { s . PhaseStatus = & v
return s
} | SetPhaseStatus sets the PhaseStatus field s value . |
91 | func ( s * BuildPhase ) SetPhaseType ( v string ) * BuildPhase { s . PhaseType = & v
return s
} | SetPhaseType sets the PhaseType field s value . |
92 | func ( s * GitSubmodulesConfig ) SetFetchSubmodules ( v bool ) * GitSubmodulesConfig { s . FetchSubmodules = & v
return s
} | SetFetchSubmodules sets the FetchSubmodules field s value . |
93 | func ( s * ListSourceCredentialsOutput ) SetSourceCredentialsInfos ( v [ ] * SourceCredentialsInfo ) * ListSourceCredentialsOutput { s . SourceCredentialsInfos = v
return s
} | SetSourceCredentialsInfos sets the SourceCredentialsInfos field s value . |
94 | func ( s * LogsLocation ) SetDeepLink ( v string ) * LogsLocation { s . DeepLink = & v
return s
} | SetDeepLink sets the DeepLink field s value . |
95 | func ( s * LogsLocation ) SetS3DeepLink ( v string ) * LogsLocation { s . S3DeepLink = & v
return s
} | SetS3DeepLink sets the S3DeepLink field s value . |
96 | func ( s * ProjectArtifacts ) SetNamespaceType ( v string ) * ProjectArtifacts { s . NamespaceType = & v
return s
} | SetNamespaceType sets the NamespaceType field s value . |
97 | func ( s * ProjectArtifacts ) SetPackaging ( v string ) * ProjectArtifacts { s . Packaging = & v
return s
} | SetPackaging sets the Packaging field s value . |
98 | func ( s * ProjectBadge ) SetBadgeRequestUrl ( v string ) * ProjectBadge { s . BadgeRequestUrl = & v
return s
} | SetBadgeRequestUrl sets the BadgeRequestUrl field s value . |
99 | func ( s * ProjectCache ) SetModes ( v [ ] * string ) * ProjectCache { s . Modes = v
return s
} | SetModes sets the Modes field s value . |
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 3