FnJoin
- Implements: IResolvable
The intrinsic function Fn::Join
appends a set of values into a single value, separated by the specified delimiter.
If a delimiter is the empty string, the set of values are concatenated with no delimiter.
Initializers
import com.aliyun.ros.cdk.core.FnJoin;
new FnJoin(java.lang.String delimiter, java.util.List<java.lang.Object> listOfValues);
Name | Type | Description |
---|---|---|
delimiter |
java.lang.String |
The value you want to occur between fragments. |
listOfValues |
java.util.List |
The list of values you want combined. |
delimiter
Required
- Type: java.lang.String
The value you want to occur between fragments.
The delimiter will occur between fragments only. It will not terminate the final value.
listOfValues
Required
- Type: java.util.List
The list of values you want combined.
Methods
Name | Description |
---|---|
resolve |
Produce the Token's value at resolution time. |
toJSON |
No description. |
toString |
Return a string representation of this resolvable object. |
resolve
public java.lang.Object resolve(IResolveContext context)
Produce the Token's value at resolution time.
- Type: IResolveContext
toJSON
public java.lang.String toJSON()
toString
public java.lang.String toString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
Properties
Name | Type | Description |
---|---|---|
creationStack |
java.util.List |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
creationStack
Required
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.