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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LoggingConfigurationMetadata.BuildercreatedAt(Instant createdAt)The time when the logging configuration was created.LoggingConfigurationMetadata.BuilderlogGroupArn(String logGroupArn)The ARN of the CW log group to which the vended log data will be published.LoggingConfigurationMetadata.BuildermodifiedAt(Instant modifiedAt)The time when the logging configuration was modified.default LoggingConfigurationMetadata.Builderstatus(Consumer<LoggingConfigurationStatus.Builder> status)The status of the logging configuration.LoggingConfigurationMetadata.Builderstatus(LoggingConfigurationStatus status)The status of the logging configuration.LoggingConfigurationMetadata.Builderworkspace(String workspace)The workspace where the logging configuration exists.-
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 Detail
-
status
LoggingConfigurationMetadata.Builder status(LoggingConfigurationStatus status)
The status of the logging configuration.
- Parameters:
status- The 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 status of the logging configuration.
This is a convenience method that creates an instance of theLoggingConfigurationStatus.Builderavoiding the need to create one manually viaLoggingConfigurationStatus.builder().When the
Consumercompletes,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:
status(LoggingConfigurationStatus)
-
workspace
LoggingConfigurationMetadata.Builder workspace(String workspace)
The workspace where the logging configuration exists.
- Parameters:
workspace- The workspace where the logging configuration exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArn
LoggingConfigurationMetadata.Builder logGroupArn(String logGroupArn)
The ARN of the CW log group to which the vended log data will be published.
- Parameters:
logGroupArn- The ARN of the CW 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.
-
createdAt
LoggingConfigurationMetadata.Builder createdAt(Instant createdAt)
The time when the logging configuration was created.
- Parameters:
createdAt- The time when the logging configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
LoggingConfigurationMetadata.Builder modifiedAt(Instant modifiedAt)
The time when the logging configuration was modified.
- Parameters:
modifiedAt- The time when the logging configuration was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-