Interface LoggingConfigurationMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoggingConfigurationMetadata.Builder,
,LoggingConfigurationMetadata> SdkBuilder<LoggingConfigurationMetadata.Builder,
,LoggingConfigurationMetadata> SdkPojo
- Enclosing class:
LoggingConfigurationMetadata
public static interface LoggingConfigurationMetadata.Builder
extends SdkPojo, CopyableBuilder<LoggingConfigurationMetadata.Builder,LoggingConfigurationMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time that the logging configuration was created.logGroupArn
(String logGroupArn) The ARN of the CloudWatch log group to which the vended log data will be published.modifiedAt
(Instant modifiedAt) The date and time that the logging configuration was most recently changed.The current status of the logging configuration.status
(LoggingConfigurationStatus status) The current status of the logging configuration.The ID of the workspace the logging configuration is for.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
-
createdAt
The date and time that the logging configuration was created.
- Parameters:
createdAt
- The date and time that the logging configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArn
The ARN of the CloudWatch log group to which the vended log data will be published.
- Parameters:
logGroupArn
- The ARN of the CloudWatch log group to which the vended log data will be published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The date and time that the logging configuration was most recently changed.
- Parameters:
modifiedAt
- The date and time that the logging configuration was most recently changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the logging configuration.
- Parameters:
status
- The current status of the logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default LoggingConfigurationMetadata.Builder status(Consumer<LoggingConfigurationStatus.Builder> status) The current status of the logging configuration.
This is a convenience method that creates an instance of theLoggingConfigurationStatus.Builder
avoiding the need to create one manually viaLoggingConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(LoggingConfigurationStatus)
.- Parameters:
status
- a consumer that will call methods onLoggingConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspace
The ID of the workspace the logging configuration is for.
- Parameters:
workspace
- The ID of the workspace the logging configuration is for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-