Class BucketPatchDefinition


  • public final class BucketPatchDefinition
    extends Object
    Parameters to reconcile to the GitRepository source kind type.
    • Constructor Detail

      • BucketPatchDefinition

        public BucketPatchDefinition()
    • Method Detail

      • url

        public String url()
        Get the url property: The URL to sync for the flux configuration S3 bucket.
        Returns:
        the url value.
      • withUrl

        public BucketPatchDefinition withUrl​(String url)
        Set the url property: The URL to sync for the flux configuration S3 bucket.
        Parameters:
        url - the url value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • bucketName

        public String bucketName()
        Get the bucketName property: The bucket name to sync from the url endpoint for the flux configuration.
        Returns:
        the bucketName value.
      • withBucketName

        public BucketPatchDefinition withBucketName​(String bucketName)
        Set the bucketName property: The bucket name to sync from the url endpoint for the flux configuration.
        Parameters:
        bucketName - the bucketName value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • insecure

        public Boolean insecure()
        Get the insecure property: Specify whether to use insecure communication when puling data from the S3 bucket.
        Returns:
        the insecure value.
      • withInsecure

        public BucketPatchDefinition withInsecure​(Boolean insecure)
        Set the insecure property: Specify whether to use insecure communication when puling data from the S3 bucket.
        Parameters:
        insecure - the insecure value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • timeoutInSeconds

        public Long timeoutInSeconds()
        Get the timeoutInSeconds property: The maximum time to attempt to reconcile the cluster git repository source with the remote.
        Returns:
        the timeoutInSeconds value.
      • withTimeoutInSeconds

        public BucketPatchDefinition withTimeoutInSeconds​(Long timeoutInSeconds)
        Set the timeoutInSeconds property: The maximum time to attempt to reconcile the cluster git repository source with the remote.
        Parameters:
        timeoutInSeconds - the timeoutInSeconds value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • syncIntervalInSeconds

        public Long syncIntervalInSeconds()
        Get the syncIntervalInSeconds property: The interval at which to re-reconcile the cluster git repository source with the remote.
        Returns:
        the syncIntervalInSeconds value.
      • withSyncIntervalInSeconds

        public BucketPatchDefinition withSyncIntervalInSeconds​(Long syncIntervalInSeconds)
        Set the syncIntervalInSeconds property: The interval at which to re-reconcile the cluster git repository source with the remote.
        Parameters:
        syncIntervalInSeconds - the syncIntervalInSeconds value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • accessKey

        public String accessKey()
        Get the accessKey property: Plaintext access key used to securely access the S3 bucket.
        Returns:
        the accessKey value.
      • withAccessKey

        public BucketPatchDefinition withAccessKey​(String accessKey)
        Set the accessKey property: Plaintext access key used to securely access the S3 bucket.
        Parameters:
        accessKey - the accessKey value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • localAuthRef

        public String localAuthRef()
        Get the localAuthRef property: Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
        Returns:
        the localAuthRef value.
      • withLocalAuthRef

        public BucketPatchDefinition withLocalAuthRef​(String localAuthRef)
        Set the localAuthRef property: Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
        Parameters:
        localAuthRef - the localAuthRef value to set.
        Returns:
        the BucketPatchDefinition object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.