Interface ConfigurationTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurationTemplate.Builder,
,ConfigurationTemplate> SdkBuilder<ConfigurationTemplate.Builder,
,ConfigurationTemplate> SdkPojo
- Enclosing class:
ConfigurationTemplate
-
Method Summary
Modifier and TypeMethodDescriptionallowedActionForAllowVendedLogsDeliveryForResource
(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.allowedFieldDelimiters
(String... allowedFieldDelimiters) The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers inPlain
,W3C
, orRaw
format.allowedFieldDelimiters
(Collection<String> allowedFieldDelimiters) The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers inPlain
,W3C
, orRaw
format.allowedFields
(Collection<RecordField> allowedFields) The allowed fields that a caller can use in therecordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.allowedFields
(Consumer<RecordField.Builder>... allowedFields) The allowed fields that a caller can use in therecordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.allowedFields
(RecordField... allowedFields) The allowed fields that a caller can use in therecordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.allowedOutputFormats
(Collection<OutputFormat> allowedOutputFormats) The list of delivery destination output formats that are supported by this log source.allowedOutputFormats
(OutputFormat... allowedOutputFormats) The list of delivery destination output formats that are supported by this log source.allowedOutputFormatsWithStrings
(String... allowedOutputFormats) The list of delivery destination output formats that are supported by this log source.allowedOutputFormatsWithStrings
(Collection<String> allowedOutputFormats) The list of delivery destination output formats that are supported by this log source.allowedSuffixPathFields
(String... allowedSuffixPathFields) The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.allowedSuffixPathFields
(Collection<String> allowedSuffixPathFields) The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.default ConfigurationTemplate.Builder
defaultDeliveryConfigValues
(Consumer<ConfigurationTemplateDeliveryConfigValues.Builder> defaultDeliveryConfigValues) A mapping that displays the default value of each property within a delivery’s configuration, if it is not specified in the request.defaultDeliveryConfigValues
(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.deliveryDestinationType
(String deliveryDestinationType) A string specifying which destination type this configuration template applies to.deliveryDestinationType
(DeliveryDestinationType deliveryDestinationType) A string specifying which destination type this configuration template applies to.A string specifying which log type this configuration template applies to.resourceType
(String resourceType) A string specifying which resource type this configuration template applies to.A string specifying which service this configuration template applies to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
service
A string specifying which service this configuration template applies to. For more information about supported services see Enable logging from Amazon Web Services services..
- Parameters:
service
- A string specifying which service this configuration template applies to. For more information about supported services see Enable logging from Amazon Web Services services..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logType
A string specifying which log type this configuration template applies to.
- Parameters:
logType
- A string specifying which log type this configuration template applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
A string specifying which resource type this configuration template applies to.
- Parameters:
resourceType
- A string specifying which resource type this configuration template applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestinationType
A string specifying which destination type this configuration template applies to.
- Parameters:
deliveryDestinationType
- A string specifying which destination type this configuration template applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deliveryDestinationType
ConfigurationTemplate.Builder deliveryDestinationType(DeliveryDestinationType deliveryDestinationType) A string specifying which destination type this configuration template applies to.
- Parameters:
deliveryDestinationType
- A string specifying which destination type this configuration template applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultDeliveryConfigValues
ConfigurationTemplate.Builder defaultDeliveryConfigValues(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
defaultDeliveryConfigValues
default ConfigurationTemplate.Builder defaultDeliveryConfigValues(Consumer<ConfigurationTemplateDeliveryConfigValues.Builder> defaultDeliveryConfigValues) A mapping that displays the default value of each property within a delivery’s configuration, if it is not specified in the request.
This is a convenience method that creates an instance of theConfigurationTemplateDeliveryConfigValues.Builder
avoiding the need to create one manually viaConfigurationTemplateDeliveryConfigValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues)
.- Parameters:
defaultDeliveryConfigValues
- a consumer that will call methods onConfigurationTemplateDeliveryConfigValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedFields
The allowed fields that a caller can use in the
recordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Parameters:
allowedFields
- The allowed fields that a caller can use in therecordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedFields
The allowed fields that a caller can use in the
recordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Parameters:
allowedFields
- The allowed fields that a caller can use in therecordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedFields
The allowed fields that a caller can use in the
This is a convenience method that creates an instance of therecordFields
parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.RecordField.Builder
avoiding the need to create one manually viaRecordField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toallowedFields(List<RecordField>)
.- Parameters:
allowedFields
- a consumer that will call methods onRecordField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedOutputFormatsWithStrings
ConfigurationTemplate.Builder allowedOutputFormatsWithStrings(Collection<String> allowedOutputFormats) The list of delivery destination output formats that are supported by this log source.
- Parameters:
allowedOutputFormats
- The list of delivery destination output formats that are supported by this log source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedOutputFormatsWithStrings
The list of delivery destination output formats that are supported by this log source.
- Parameters:
allowedOutputFormats
- The list of delivery destination output formats that are supported by this log source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedOutputFormats
The list of delivery destination output formats that are supported by this log source.
- Parameters:
allowedOutputFormats
- The list of delivery destination output formats that are supported by this log source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedOutputFormats
The list of delivery destination output formats that are supported by this log source.
- Parameters:
allowedOutputFormats
- The list of delivery destination output formats that are supported by this log source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedActionForAllowVendedLogsDeliveryForResource
ConfigurationTemplate.Builder allowedActionForAllowVendedLogsDeliveryForResource(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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
, orRaw
format.- Parameters:
allowedFieldDelimiters
- The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers inPlain
,W3C
, orRaw
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
, orRaw
format.- Parameters:
allowedFieldDelimiters
- The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers inPlain
,W3C
, orRaw
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSuffixPathFields
The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.
- Parameters:
allowedSuffixPathFields
- The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSuffixPathFields
The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.
- Parameters:
allowedSuffixPathFields
- The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-