Interface ReleaseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReleaseConfiguration.Builder,
,ReleaseConfiguration> SdkBuilder<ReleaseConfiguration.Builder,
,ReleaseConfiguration> SdkPojo
- Enclosing class:
ReleaseConfiguration
@Mutable
@NotThreadSafe
public static interface ReleaseConfiguration.Builder
extends SdkPojo, CopyableBuilder<ReleaseConfiguration.Builder,ReleaseConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReleaseConfiguration.Builder
durationSinceLastAccess
(Consumer<DurationSinceLastAccess.Builder> durationSinceLastAccess) Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release.durationSinceLastAccess
(DurationSinceLastAccess durationSinceLastAccess) Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release.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 Details
-
durationSinceLastAccess
ReleaseConfiguration.Builder durationSinceLastAccess(DurationSinceLastAccess durationSinceLastAccess) Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.
- Parameters:
durationSinceLastAccess
- Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSinceLastAccess
default ReleaseConfiguration.Builder durationSinceLastAccess(Consumer<DurationSinceLastAccess.Builder> durationSinceLastAccess) Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.
This is a convenience method that creates an instance of theDurationSinceLastAccess.Builder
avoiding the need to create one manually viaDurationSinceLastAccess.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todurationSinceLastAccess(DurationSinceLastAccess)
.- Parameters:
durationSinceLastAccess
- a consumer that will call methods onDurationSinceLastAccess.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-