// SPDX-License-Identifier: AGPL-3.0-only // Code generated by applyconfiguration-gen. DO NOT EDIT. package v0alpha1 // S3RepositoryConfigApplyConfiguration represents a declarative configuration of the S3RepositoryConfig type for use // with apply. type S3RepositoryConfigApplyConfiguration struct { Region *string `json:"region,omitempty"` Bucket *string `json:"bucket,omitempty"` } // S3RepositoryConfigApplyConfiguration constructs a declarative configuration of the S3RepositoryConfig type for use with // apply. func S3RepositoryConfig() *S3RepositoryConfigApplyConfiguration { return &S3RepositoryConfigApplyConfiguration{} } // WithRegion sets the Region field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Region field is set to the value of the last call. func (b *S3RepositoryConfigApplyConfiguration) WithRegion(value string) *S3RepositoryConfigApplyConfiguration { b.Region = &value return b } // WithBucket sets the Bucket field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Bucket field is set to the value of the last call. func (b *S3RepositoryConfigApplyConfiguration) WithBucket(value string) *S3RepositoryConfigApplyConfiguration { b.Bucket = &value return b }