Class CreateResourceBindingOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.resource_controller.v2.model.CreateResourceBindingOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateResourceBindingOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createResourceBinding options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateResourceBindingOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringname()Gets the name.CreateResourceBindingOptions.BuildernewBuilder()New builder.ResourceBindingPostParametersparameters()Gets the parameters.java.lang.Stringrole()Gets the role.java.lang.Stringsource()Gets the source.java.lang.Stringtarget()Gets the target.
-
-
-
Method Detail
-
newBuilder
public CreateResourceBindingOptions.Builder newBuilder()
New builder.- Returns:
- a CreateResourceBindingOptions builder
-
source
public java.lang.String source()
Gets the source. The ID of resource alias.- Returns:
- the source
-
target
public java.lang.String target()
Gets the target. The CRN of application to bind to in a specific environment, for example, Dallas YP, CFEE instance.- Returns:
- the target
-
name
public java.lang.String name()
Gets the name. The name of the binding. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`.- Returns:
- the name
-
parameters
public ResourceBindingPostParameters parameters()
Gets the parameters. Configuration options represented as key-value pairs. Service defined options are passed through to the target resource brokers, whereas platform defined options are not.- Returns:
- the parameters
-
role
public java.lang.String role()
Gets the role. The base IAM service role name (Reader, Writer, or Manager), or the service or custom role CRN. Refer to service’s documentation for supported roles.- Returns:
- the role
-
-