public String toString() {StringBuilder sb = new StringBuilder();sb.append("arn:");sb.append(this.partition);sb.append(":");sb.append(this.service);sb.append(":");sb.append(region);sb.append(":");sb.append(this.accountId);sb.append(":");sb.append(this.resource);return sb.toString();}
public override string ToString(){var sb = new StringBuilder();sb.Append("arn:");sb.Append(this.Partition);sb.Append(":");sb.Append(this.Service);sb.Append(":");sb.Append(this.Region);sb.Append(":");sb.Append(this.AccountId);sb.Append(":");sb.Append(this.Resource);return sb.ToString();}