Interface DescribeLoggingStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLoggingStatusResponse.Builder,DescribeLoggingStatusResponse>,RedshiftResponse.Builder,SdkBuilder<DescribeLoggingStatusResponse.Builder,DescribeLoggingStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeLoggingStatusResponse
public static interface DescribeLoggingStatusResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeLoggingStatusResponse.Builder,DescribeLoggingStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeLoggingStatusResponse.BuilderbucketName(String bucketName)The name of the S3 bucket where the log files are stored.DescribeLoggingStatusResponse.BuilderlastFailureMessage(String lastFailureMessage)The message indicating that logs failed to be delivered.DescribeLoggingStatusResponse.BuilderlastFailureTime(Instant lastFailureTime)The last time when logs failed to be delivered.DescribeLoggingStatusResponse.BuilderlastSuccessfulDeliveryTime(Instant lastSuccessfulDeliveryTime)The last time that logs were delivered.DescribeLoggingStatusResponse.BuilderlogDestinationType(String logDestinationType)The log destination type.DescribeLoggingStatusResponse.BuilderlogDestinationType(LogDestinationType logDestinationType)The log destination type.DescribeLoggingStatusResponse.BuilderlogExports(String... logExports)The collection of exported log types.DescribeLoggingStatusResponse.BuilderlogExports(Collection<String> logExports)The collection of exported log types.DescribeLoggingStatusResponse.BuilderloggingEnabled(Boolean loggingEnabled)trueif logging is on,falseif logging is off.DescribeLoggingStatusResponse.Builders3KeyPrefix(String s3KeyPrefix)The prefix applied to the log file names.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
loggingEnabled
DescribeLoggingStatusResponse.Builder loggingEnabled(Boolean loggingEnabled)
trueif logging is on,falseif logging is off.- Parameters:
loggingEnabled-trueif logging is on,falseif logging is off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketName
DescribeLoggingStatusResponse.Builder bucketName(String bucketName)
The name of the S3 bucket where the log files are stored.
- Parameters:
bucketName- The name of the S3 bucket where the log files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3KeyPrefix
DescribeLoggingStatusResponse.Builder s3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
- Parameters:
s3KeyPrefix- The prefix applied to the log file names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulDeliveryTime
DescribeLoggingStatusResponse.Builder lastSuccessfulDeliveryTime(Instant lastSuccessfulDeliveryTime)
The last time that logs were delivered.
- Parameters:
lastSuccessfulDeliveryTime- The last time that logs were delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastFailureTime
DescribeLoggingStatusResponse.Builder lastFailureTime(Instant lastFailureTime)
The last time when logs failed to be delivered.
- Parameters:
lastFailureTime- The last time when logs failed to be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastFailureMessage
DescribeLoggingStatusResponse.Builder lastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.
- Parameters:
lastFailureMessage- The message indicating that logs failed to be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDestinationType
DescribeLoggingStatusResponse.Builder logDestinationType(String logDestinationType)
The log destination type. An enum with possible values of
s3andcloudwatch.- Parameters:
logDestinationType- The log destination type. An enum with possible values ofs3andcloudwatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogDestinationType,LogDestinationType
-
logDestinationType
DescribeLoggingStatusResponse.Builder logDestinationType(LogDestinationType logDestinationType)
The log destination type. An enum with possible values of
s3andcloudwatch.- Parameters:
logDestinationType- The log destination type. An enum with possible values ofs3andcloudwatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogDestinationType,LogDestinationType
-
logExports
DescribeLoggingStatusResponse.Builder logExports(Collection<String> logExports)
The collection of exported log types. Possible values are
connectionlog,useractivitylog, anduserlog.- Parameters:
logExports- The collection of exported log types. Possible values areconnectionlog,useractivitylog, anduserlog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logExports
DescribeLoggingStatusResponse.Builder logExports(String... logExports)
The collection of exported log types. Possible values are
connectionlog,useractivitylog, anduserlog.- Parameters:
logExports- The collection of exported log types. Possible values areconnectionlog,useractivitylog, anduserlog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-