Interface ConfigurationTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurationTemplate.Builder,ConfigurationTemplate>,SdkBuilder<ConfigurationTemplate.Builder,ConfigurationTemplate>,SdkPojo
- Enclosing class:
- ConfigurationTemplate
public static interface ConfigurationTemplate.Builder extends SdkPojo, CopyableBuilder<ConfigurationTemplate.Builder,ConfigurationTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConfigurationTemplate.BuilderallowedActionForAllowVendedLogsDeliveryForResource(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.ConfigurationTemplate.BuilderallowedFieldDelimiters(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, orRawformat.ConfigurationTemplate.BuilderallowedFieldDelimiters(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, orRawformat.ConfigurationTemplate.BuilderallowedFields(Collection<RecordField> allowedFields)The allowed fields that a caller can use in therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.ConfigurationTemplate.BuilderallowedFields(Consumer<RecordField.Builder>... allowedFields)The allowed fields that a caller can use in therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.ConfigurationTemplate.BuilderallowedFields(RecordField... allowedFields)The allowed fields that a caller can use in therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.ConfigurationTemplate.BuilderallowedOutputFormats(Collection<OutputFormat> allowedOutputFormats)The list of delivery destination output formats that are supported by this log source.ConfigurationTemplate.BuilderallowedOutputFormats(OutputFormat... allowedOutputFormats)The list of delivery destination output formats that are supported by this log source.ConfigurationTemplate.BuilderallowedOutputFormatsWithStrings(String... allowedOutputFormats)The list of delivery destination output formats that are supported by this log source.ConfigurationTemplate.BuilderallowedOutputFormatsWithStrings(Collection<String> allowedOutputFormats)The list of delivery destination output formats that are supported by this log source.ConfigurationTemplate.BuilderallowedSuffixPathFields(String... allowedSuffixPathFields)The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.ConfigurationTemplate.BuilderallowedSuffixPathFields(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.BuilderdefaultDeliveryConfigValues(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.ConfigurationTemplate.BuilderdefaultDeliveryConfigValues(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.ConfigurationTemplate.BuilderdeliveryDestinationType(String deliveryDestinationType)A string specifying which destination type this configuration template applies to.ConfigurationTemplate.BuilderdeliveryDestinationType(DeliveryDestinationType deliveryDestinationType)A string specifying which destination type this configuration template applies to.ConfigurationTemplate.BuilderlogType(String logType)A string specifying which log type this configuration template applies to.ConfigurationTemplate.BuilderresourceType(String resourceType)A string specifying which resource type this configuration template applies to.ConfigurationTemplate.Builderservice(String service)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
service
ConfigurationTemplate.Builder service(String 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
ConfigurationTemplate.Builder logType(String 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
ConfigurationTemplate.Builder resourceType(String 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
ConfigurationTemplate.Builder deliveryDestinationType(String 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,DeliveryDestinationType
-
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:
DeliveryDestinationType,DeliveryDestinationType
-
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.Builderavoiding the need to create one manually viaConfigurationTemplateDeliveryConfigValues.builder().When the
Consumercompletes,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:
defaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues)
-
allowedFields
ConfigurationTemplate.Builder allowedFields(Collection<RecordField> allowedFields)
The allowed fields that a caller can use in the
recordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Parameters:
allowedFields- The allowed fields that a caller can use in therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedFields
ConfigurationTemplate.Builder allowedFields(RecordField... allowedFields)
The allowed fields that a caller can use in the
recordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Parameters:
allowedFields- The allowed fields that a caller can use in therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedFields
ConfigurationTemplate.Builder allowedFields(Consumer<RecordField.Builder>... allowedFields)
The allowed fields that a caller can use in the
This is a convenience method that creates an instance of therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.RecordField.Builderavoiding the need to create one manually viaRecordField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#allowedFields(List.) - 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:
#allowedFields(java.util.Collection)
-
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
ConfigurationTemplate.Builder allowedOutputFormatsWithStrings(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.
-
allowedOutputFormats
ConfigurationTemplate.Builder allowedOutputFormats(Collection<OutputFormat> 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
ConfigurationTemplate.Builder allowedOutputFormats(OutputFormat... 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
ConfigurationTemplate.Builder 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 in
Plain,W3C, orRawformat.- 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, orRawformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedFieldDelimiters
ConfigurationTemplate.Builder allowedFieldDelimiters(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, orRawformat.- 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, orRawformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSuffixPathFields
ConfigurationTemplate.Builder 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.
- 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
ConfigurationTemplate.Builder 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.
- 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.
-
-