Class ServiceCredentialsSecretSourceService
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.ServiceCredentialsSecretSourceService
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ServiceCredentialsSecretSourceService extends com.ibm.cloud.sdk.core.service.model.GenericModelThe properties that are required to create the service credentials for the specified source service instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceCredentialsSecretSourceService.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCredentialsSourceServiceInstanceinstance()Gets the instance.ServiceCredentialsSecretSourceService.BuildernewBuilder()New builder.ServiceCredentialsSourceServiceParametersparameters()Gets the parameters.ServiceCredentialsSourceServiceRolerole()Gets the role.
-
-
-
Method Detail
-
newBuilder
public ServiceCredentialsSecretSourceService.Builder newBuilder()
New builder.- Returns:
- a ServiceCredentialsSecretSourceService builder
-
instance
public ServiceCredentialsSourceServiceInstance instance()
Gets the instance. The source service instance identifier.- Returns:
- the instance
-
parameters
public ServiceCredentialsSourceServiceParameters parameters()
Gets the parameters. Configuration options represented as key-value pairs. Service-defined options are used in the generation of credentials for some services. For example, Cloud Object Storage accepts the optional boolean parameter HMAC for creating specific kind of credentials.- Returns:
- the parameters
-
role
public ServiceCredentialsSourceServiceRole role()
Gets the role. The service-specific custom role. CRN is accepted. The role is assigned as part of an access policy to any auto-generated IAM service ID. If you provide an existing service ID, it is added to the access policy for that ID. If a role is not provided, any new service IDs that are autogenerated, will not have an assigned access policy and provided service IDs are not changed in any way. Refer to the service documentation for supported roles.- Returns:
- the role
-
-