Class ConfigurationTemplate
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigurationTemplate.Builder,ConfigurationTemplate>
A structure containing information about the deafult settings and available settings that you can use to configure a delivery or a delivery destination.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe 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.The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers inPlain,W3C, orRawformat.final List<RecordField> The allowed fields that a caller can use in therecordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.final List<OutputFormat> The list of delivery destination output formats that are supported by this log source.The list of delivery destination output formats that are supported by this log source.The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.builder()A mapping that displays the default value of each property within a delivery's configuration, if it is not specified in the request.final DeliveryDestinationTypeA string specifying which destination type this configuration template applies to.final StringA string specifying which destination type this configuration template applies to.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the AllowedFieldDelimiters property.final booleanFor responses, this returns true if the service returned a value for the AllowedFields property.final booleanFor responses, this returns true if the service returned a value for the AllowedOutputFormats property.final booleanFor responses, this returns true if the service returned a value for the AllowedSuffixPathFields property.final inthashCode()final StringlogType()A string specifying which log type this configuration template applies to.final StringA string specifying which resource type this configuration template applies to.static Class<? extends ConfigurationTemplate.Builder> final Stringservice()A string specifying which service this configuration template applies to.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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..
- Returns:
- A string specifying which service this configuration template applies to. For more information about supported services see Enable logging from Amazon Web Services services..
-
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
A string specifying which resource type this configuration template applies to.
- Returns:
- A string specifying which resource type this configuration template applies to.
-
deliveryDestinationType
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,
deliveryDestinationTypewill returnDeliveryDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeliveryDestinationTypeAsString().- Returns:
- A string specifying which destination type this configuration template applies to.
- See Also:
-
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,
deliveryDestinationTypewill returnDeliveryDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeliveryDestinationTypeAsString().- Returns:
- A string specifying which destination type this configuration template applies to.
- See Also:
-
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 theisEmpty()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
The allowed fields that a caller can use in the
recordFieldsparameter 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
recordFieldsparameter of a CreateDelivery or UpdateDeliveryConfiguration operation.
-
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 theisEmpty()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
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
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 theisEmpty()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
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.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, orRawformat.
-
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 theisEmpty()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
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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigurationTemplate.Builder,ConfigurationTemplate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-