public static class SwiftPassword.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SwiftPassword |
build() |
SwiftPassword.Builder |
copy(SwiftPassword model) |
SwiftPassword.Builder |
description(String description)
The description you assign to the Swift password.
|
SwiftPassword.Builder |
expiresOn(Date expiresOn)
Date and time when this password will expire, in the format defined by RFC3339.
|
SwiftPassword.Builder |
id(String id)
The OCID of the Swift password.
|
SwiftPassword.Builder |
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
|
SwiftPassword.Builder |
lifecycleState(SwiftPassword.LifecycleState lifecycleState)
The password’s current state.
|
SwiftPassword.Builder |
password(String password)
The Swift password.
|
SwiftPassword.Builder |
timeCreated(Date timeCreated)
Date and time the
SwiftPassword object was created, in the format defined by
RFC3339. |
SwiftPassword.Builder |
userId(String userId)
The OCID of the user the password belongs to.
|
public SwiftPassword.Builder password(String password)
The Swift password. The value is available only in the response for CreateSwiftPassword
, and not for ListSwiftPasswords
or UpdateSwiftPassword
.
password
- the value to setpublic SwiftPassword.Builder id(String id)
The OCID of the Swift password.
id
- the value to setpublic SwiftPassword.Builder userId(String userId)
The OCID of the user the password belongs to.
userId
- the value to setpublic SwiftPassword.Builder description(String description)
The description you assign to the Swift password. Does not have to be unique, and it’s changeable.
description
- the value to setpublic 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
timeCreated
- the value to setpublic 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
expiresOn
- the value to setpublic 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.
lifecycleState
- the value to setpublic SwiftPassword.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
inactiveStatus
- the value to setpublic SwiftPassword build()
public SwiftPassword.Builder copy(SwiftPassword model)
Copyright © 2016–2024. All rights reserved.