Package com.oracle.bmc.identity.model
Class SwiftPassword.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.model.SwiftPassword.Builder
 
- 
- Enclosing class:
- SwiftPassword
 
 public static class SwiftPassword.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SwiftPasswordbuild()SwiftPassword.Buildercopy(SwiftPassword model)SwiftPassword.Builderdescription(String description)The description you assign to the Swift password.SwiftPassword.BuilderexpiresOn(Date expiresOn)Date and time when this password will expire, in the format defined by RFC3339.SwiftPassword.Builderid(String id)The OCID of the Swift password.SwiftPassword.BuilderinactiveStatus(Long inactiveStatus)The detailed status of INACTIVE lifecycleState.SwiftPassword.BuilderlifecycleState(SwiftPassword.LifecycleState lifecycleState)The password’s current state.SwiftPassword.Builderpassword(String password)The Swift password.SwiftPassword.BuildertimeCreated(Date timeCreated)Date and time the SwiftPassword object was created, in the format defined by RFC3339.SwiftPassword.BuilderuserId(String userId)The OCID of the user the password belongs to.
 
- 
- 
- 
Method Detail- 
passwordpublic SwiftPassword.Builder password(String password) The Swift password.The value is available only in the response for CreateSwiftPassword, and not for ListSwiftPasswords or UpdateSwiftPassword. - Parameters:
- password- the value to set
- Returns:
- this builder
 
 - 
idpublic SwiftPassword.Builder id(String id) The OCID of the Swift password.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
userIdpublic SwiftPassword.Builder userId(String userId) The OCID of the user the password belongs to.- Parameters:
- userId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SwiftPassword.Builder description(String description) The description you assign to the Swift password.Does not have to be unique, and it’s changeable. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SwiftPassword.Builder timeCreated(Date timeCreated) Date and time the SwiftPassword object was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
expiresOnpublic SwiftPassword.Builder expiresOn(Date expiresOn) Date and time when this password will expire, in the format defined by RFC3339.Null if it never expires. Example: 2016-08-25T21:10:29.600Z - Parameters:
- expiresOn- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SwiftPassword.Builder lifecycleState(SwiftPassword.LifecycleState lifecycleState) The password’s current state.After creating a password, make sure its lifecycleState changes from CREATING to ACTIVE before using it. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
inactiveStatuspublic SwiftPassword.Builder inactiveStatus(Long inactiveStatus) The detailed status of INACTIVE lifecycleState.- Parameters:
- inactiveStatus- the value to set
- Returns:
- this builder
 
 - 
buildpublic SwiftPassword build() 
 - 
copypublic SwiftPassword.Builder copy(SwiftPassword model) 
 
- 
 
-