public static class SmtpCredentialSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SmtpCredentialSummary |
build() |
SmtpCredentialSummary.Builder |
copy(SmtpCredentialSummary model) |
SmtpCredentialSummary.Builder |
description(String description)
The description you assign to the SMTP credential.
|
SmtpCredentialSummary.Builder |
id(String id)
The OCID of the SMTP credential.
|
SmtpCredentialSummary.Builder |
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
|
SmtpCredentialSummary.Builder |
lifecycleState(SmtpCredentialSummary.LifecycleState lifecycleState)
The credential’s current state.
|
SmtpCredentialSummary.Builder |
timeCreated(Date timeCreated)
Date and time the
SmtpCredential object was created, in the format defined by
RFC3339. |
SmtpCredentialSummary.Builder |
timeExpires(Date timeExpires)
Date and time when this credential will expire, in the format defined by RFC3339.
|
SmtpCredentialSummary.Builder |
userId(String userId)
The OCID of the user the SMTP credential belongs to.
|
SmtpCredentialSummary.Builder |
username(String username)
The SMTP user name.
|
public SmtpCredentialSummary.Builder username(String username)
The SMTP user name.
username
- the value to setpublic SmtpCredentialSummary.Builder id(String id)
The OCID of the SMTP credential.
id
- the value to setpublic SmtpCredentialSummary.Builder userId(String userId)
The OCID of the user the SMTP credential belongs to.
userId
- the value to setpublic SmtpCredentialSummary.Builder description(String description)
The description you assign to the SMTP credential. Does not have to be unique, and it’s changeable.
(For tenancies that support identity domains) You can have an empty description.
description
- the value to setpublic SmtpCredentialSummary.Builder timeCreated(Date timeCreated)
Date and time the SmtpCredential
object was created, in the format defined by
RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic SmtpCredentialSummary.Builder timeExpires(Date timeExpires)
Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires.
Example: 2016-08-25T21:10:29.600Z
timeExpires
- the value to setpublic SmtpCredentialSummary.Builder lifecycleState(SmtpCredentialSummary.LifecycleState lifecycleState)
The credential’s current state. After creating a SMTP credential, make sure its lifecycleState
changes from CREATING to ACTIVE before using it.
lifecycleState
- the value to setpublic SmtpCredentialSummary.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
inactiveStatus
- the value to setpublic SmtpCredentialSummary build()
public SmtpCredentialSummary.Builder copy(SmtpCredentialSummary model)
Copyright © 2016–2024. All rights reserved.