Class ConfigurationTemplate

    • Method Detail

      • logType

        public final String logType()

        A string specifying which log type this configuration template applies to.

        Returns:
        A string specifying which log type this configuration template applies to.
      • resourceType

        public final String resourceType()

        A string specifying which resource type this configuration template applies to.

        Returns:
        A string specifying which resource type this configuration template applies to.
      • deliveryDestinationTypeAsString

        public final String deliveryDestinationTypeAsString()

        A string specifying which destination type this configuration template applies to.

        If the service returns an enum value that is not available in the current SDK version, deliveryDestinationType will return DeliveryDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deliveryDestinationTypeAsString().

        Returns:
        A string specifying which destination type this configuration template applies to.
        See Also:
        DeliveryDestinationType
      • defaultDeliveryConfigValues

        public final ConfigurationTemplateDeliveryConfigValues defaultDeliveryConfigValues()

        A mapping that displays the default value of each property within a delivery's configuration, if it is not specified in the request.

        Returns:
        A mapping that displays the default value of each property within a delivery's configuration, if it is not specified in the request.
      • hasAllowedFields

        public final boolean hasAllowedFields()
        For responses, this returns true if the service returned a value for the AllowedFields property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • allowedFields

        public final List<RecordField> allowedFields()

        The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAllowedFields() method.

        Returns:
        The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.
      • allowedOutputFormats

        public final List<OutputFormat> allowedOutputFormats()

        The list of delivery destination output formats that are supported by this log source.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAllowedOutputFormats() method.

        Returns:
        The list of delivery destination output formats that are supported by this log source.
      • hasAllowedOutputFormats

        public final boolean hasAllowedOutputFormats()
        For responses, this returns true if the service returned a value for the AllowedOutputFormats property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • allowedOutputFormatsAsStrings

        public final List<String> allowedOutputFormatsAsStrings()

        The list of delivery destination output formats that are supported by this log source.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAllowedOutputFormats() method.

        Returns:
        The list of delivery destination output formats that are supported by this log source.
      • allowedActionForAllowVendedLogsDeliveryForResource

        public final String allowedActionForAllowVendedLogsDeliveryForResource()

        The action permissions that a caller needs to have to be able to successfully create a delivery source on the desired resource type when calling PutDeliverySource.

        Returns:
        The action permissions that a caller needs to have to be able to successfully create a delivery source on the desired resource type when calling PutDeliverySource.
      • hasAllowedFieldDelimiters

        public final boolean hasAllowedFieldDelimiters()
        For responses, this returns true if the service returned a value for the AllowedFieldDelimiters property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • allowedFieldDelimiters

        public final List<String> allowedFieldDelimiters()

        The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers in Plain, W3C, or Raw format.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAllowedFieldDelimiters() method.

        Returns:
        The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers in Plain, W3C, or Raw format.
      • hasAllowedSuffixPathFields

        public final boolean hasAllowedSuffixPathFields()
        For responses, this returns true if the service returned a value for the AllowedSuffixPathFields property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • allowedSuffixPathFields

        public final List<String> allowedSuffixPathFields()

        The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAllowedSuffixPathFields() method.

        Returns:
        The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)