Interface DurationSinceLastAccess.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DurationSinceLastAccess.Builder,DurationSinceLastAccess>,SdkBuilder<DurationSinceLastAccess.Builder,DurationSinceLastAccess>,SdkPojo
- Enclosing class:
- DurationSinceLastAccess
public static interface DurationSinceLastAccess.Builder extends SdkPojo, CopyableBuilder<DurationSinceLastAccess.Builder,DurationSinceLastAccess>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationSinceLastAccess.Builderunit(String unit)The unit of time used by theValueparameter to determine if a file can be released, based on when it was last accessed.DurationSinceLastAccess.Builderunit(Unit unit)The unit of time used by theValueparameter to determine if a file can be released, based on when it was last accessed.DurationSinceLastAccess.Buildervalue(Long value)An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system.-
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
-
unit
DurationSinceLastAccess.Builder unit(String unit)
The unit of time used by the
Valueparameter to determine if a file can be released, based on when it was last accessed.DAYSis the only supported value. This is a required parameter.- Parameters:
unit- The unit of time used by theValueparameter to determine if a file can be released, based on when it was last accessed.DAYSis the only supported value. This is a required parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Unit,Unit
-
unit
DurationSinceLastAccess.Builder unit(Unit unit)
The unit of time used by the
Valueparameter to determine if a file can be released, based on when it was last accessed.DAYSis the only supported value. This is a required parameter.- Parameters:
unit- The unit of time used by theValueparameter to determine if a file can be released, based on when it was last accessed.DAYSis the only supported value. This is a required parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Unit,Unit
-
value
DurationSinceLastAccess.Builder value(Long value)
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system. Only exported files with a
MAX(atime, ctime, mtime)timestamp that is more than this amount of time in the past (relative to the task create time) will be released. The default ofValueis0. This is a required parameter.If an exported file meets the last accessed time criteria, its file or directory path must also be specified in the
Pathsparameter of the operation in order for the file to be released.- Parameters:
value- An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system. Only exported files with aMAX(atime, ctime, mtime)timestamp that is more than this amount of time in the past (relative to the task create time) will be released. The default ofValueis0. This is a required parameter.If an exported file meets the last accessed time criteria, its file or directory path must also be specified in the
Pathsparameter of the operation in order for the file to be released.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-