Class BarbicanSecret
- java.lang.Object
-
- org.openstack4j.openstack.barbican.domain.BarbicanSecret
-
- All Implemented Interfaces:
Serializable
,Buildable<SecretCreateBuilder>
,Secret
,ModelEntity
public class BarbicanSecret extends Object implements Secret
Created by reneschollmeyer on 02.08.17.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BarbicanSecret.SecretCreateConcreteBuilder
static class
BarbicanSecret.Secrets
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description BarbicanSecret()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretCreateBuilder
builder()
String
getAlgorithm()
Integer
getBitLength()
Map<String,String>
getContentTypes()
Date
getCreateTime()
String
getCreatorId()
Date
getExpiration()
String
getMode()
String
getName()
String
getPayload()
String
getPayloadContentEncoding()
String
getPayloadContentType()
String
getSecretReference()
String
getSecretType()
String
getStatus()
Date
getUpdateTime()
SecretCreateBuilder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static SecretCreateBuilder builder()
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceSecret
- Returns:
- algorithm.
-
getBitLength
public Integer getBitLength()
- Specified by:
getBitLength
in interfaceSecret
- Returns:
- bit length of the secret. Must be greater than zero.
-
getContentTypes
public Map<String,String> getContentTypes()
- Specified by:
getContentTypes
in interfaceSecret
- Returns:
- content type of the secret.
-
getCreateTime
public Date getCreateTime()
- Specified by:
getCreateTime
in interfaceSecret
- Returns:
- system generated creation time.
-
getUpdateTime
public Date getUpdateTime()
- Specified by:
getUpdateTime
in interfaceSecret
- Returns:
- system generated last update time.
-
getCreatorId
public String getCreatorId()
- Specified by:
getCreatorId
in interfaceSecret
- Returns:
- user uuid of the creator of this secret.
-
getExpiration
public Date getExpiration()
- Specified by:
getExpiration
in interfaceSecret
- Returns:
- expiration of the secret.
-
getMode
public String getMode()
-
getName
public String getName()
-
getSecretReference
public String getSecretReference()
- Specified by:
getSecretReference
in interfaceSecret
- Returns:
- URL reference to the secret.
-
getSecretType
public String getSecretType()
- Specified by:
getSecretType
in interfaceSecret
- Returns:
- secret type.
-
getStatus
public String getStatus()
-
getPayload
public String getPayload()
- Specified by:
getPayload
in interfaceSecret
- Returns:
- stored secret data.
-
getPayloadContentType
public String getPayloadContentType()
- Specified by:
getPayloadContentType
in interfaceSecret
- Returns:
- content type of the secret data.
-
getPayloadContentEncoding
public String getPayloadContentEncoding()
- Specified by:
getPayloadContentEncoding
in interfaceSecret
- Returns:
- encoding used for the data.
-
toBuilder
public SecretCreateBuilder toBuilder()
- Specified by:
toBuilder
in interfaceBuildable<SecretCreateBuilder>
-
-