Class FileCreateParams.ExpiresAfter
- 
                    
                    - All Implemented Interfaces:
 
 public final class FileCreateParams.ExpiresAfterThe expiration policy for a file. By default, files with purpose=batchexpire after 30 days and all other files are persisted until they are manually deleted.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classFileCreateParams.ExpiresAfter.BuilderA builder for ExpiresAfter. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final JsonValue_anchor()Anchor timestamp after which the expiration policy applies. final Longseconds()The number of seconds after the anchor time that the file will expire. final MultipartField<Long>_seconds()Returns the raw multipart value of seconds. final Map<String, JsonValue>_additionalProperties()final FileCreateParams.ExpiresAfter.BuildertoBuilder()final FileCreateParams.ExpiresAftervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileCreateParams.ExpiresAfter.Builderbuilder()Returns a mutable builder for constructing an instance of ExpiresAfter. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        _anchorfinal JsonValue _anchor() Anchor timestamp after which the expiration policy applies. Supported anchors: created_at.Expected to always return the following: JsonValue.from("created_at")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        secondsfinal Long seconds() The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days). 
 - 
                                        _secondsfinal MultipartField<Long> _seconds() Returns the raw multipart value of seconds. Unlike seconds, this method doesn't throw if the multipart field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal FileCreateParams.ExpiresAfter.Builder toBuilder() 
 - 
                                        validatefinal FileCreateParams.ExpiresAfter validate() 
 - 
                                        builderfinal static FileCreateParams.ExpiresAfter.Builder builder() Returns a mutable builder for constructing an instance of ExpiresAfter. The following fields are required: .seconds()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-